Git Product home page Git Product logo

uitest's Introduction

pytest+selenium+allure2框架

技术选型及版本

  • pytest:3.6.0
  • selenium:3.141.0
  • pytest-allure-adaptor:1.7.10
  • pytest-rerunfailures:5.0

allure常用函数

  • allure.severity("优先级")
  • allure.feature("模块名")
  • allure.story("功能名")
  • allure.step("步骤")
  • allure.attach("用例参数")

yaml配置文件

  • logging.yaml 配置日志输出格式
  • project.yaml 配置项目绝对路径
  • testcase.yaml 配置用例相关(需执行用例文件,重跑次数)

allure.bat配置环境变量

  • allure-2.7.0/bin

待实现功能

  • 告罄功能
  • 邮件功能
  • 数据库校验
  • 数据驱动(参数化)

uitest's People

Contributors

zykzml7788 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.