Open source it pytest + requests + allure "super" practice

Source

Github Source: https://github.com/dongfanger/pyface

git clone [email protected]:dongfanger/pyface.git

Environment requires Python, PyCharm, JDK, Allure, omitted here, Baidu a lot of tutorials, very simple.

Installation depends:

pip install -r requirement.txt

Feature

  • Follow PEP8 specification.
  • Notes complete, all in English.
  • pytest super test framework.
  • To provide a tissue test method.
  • "Elegant" package requests library.
  • Request failed automatic retry mechanism.
  • Flexible parameterization and error.
  • Create a custom environment variables.
  • Api parent object design and subclasses oriented.
  • Based on pandas, sqlalchemy support mysql query, texttable real-time output data form.
  • numpy data conversion.
  • Public support function.
  • parewise pair test algorithms.
  • Packaging logging, logging output and progress bars.
  • Random library package, more random value function.
  • Output interface call records csv file.
  • Output allure html test report, the browser automatically open html.
  • Automatically generating a structured test code.
  • ...

For more information, please read the source code ah!

Guess you like

Origin www.cnblogs.com/df888/p/12523829.html