- Supports parameterized
- Supports simple unit test and test complex functions, can also be used for selenium / appnium test automation, automatic test interfaces (pytest + requests)
- pytest has a lot of third-party plug-ins, and you can customize the extension, relatively easy to use as pytest-selenium (integrated selenium), pytest-html (html perfect test report generation), pytest-rerunfailures (repeat the failure case), pytest-xdist (multi-CPU distributed), etc.
- Skip test cases and xfail treatment
- It can be well integrated and jenkins
- ---- allure framework report also supported pytest
Author: Winter blankly
link: https: //www.jianshu.com/p/932a4d9f78f8
Source: Jane books
are copyrighted by the author. Commercial reprint please contact the author authorized, non-commercial reprint please indicate the source