方法一:
1.生成测试结果:
pytest .\testcases\repayment\rpmt_record_paylater_detail_test.py –alluredir .\dragon\result1 –clean-alluredir
2.查看结果:
allure serve .\dragon\result1\
方法二:
1.生成测试结果:
pytest .\testcases\repayment\rpmt_record_paylater_detail_test.py –alluredir .\dragon\result1 –clean-alluredir(–clean-alluredir:清除之前生成的测试结果)
2.生成测试报告:
allure generate -c -o .\dragon\report1\ .\dragon\result1\(report1为报告路径,result1为测试结果路径)
3.查看测试报告:
allure open .\dragon\report1\
版权声明:本文为wqx18291455350原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。