pytest-allure测试报告

1、安装allure

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

2、安装插件

pip install pytest-allure-adaptor

3、pytest生成allure测试报告的命令参数

--alluredir=/XX/my_allure_results

4、查看allure的测试报告命令

allure serve allure 报告目录

猜你喜欢

转载自www.cnblogs.com/xyao1/p/10930457.html