pytest-allure test report

1, the installation allure

https://github.com/allure-framework/allure2 

2, install the plug

pip install pytest-allure-adaptor

3, pytest generate test reports allure of command parameters

--alluredir=/XX/my_allure_results

4, see the allure of the test report command

allure serve allure report catalog

 

Guess you like

Origin www.cnblogs.com/xyao1/p/10930457.html