生成allure测试报告时报错的解决方法

在执行pytest -s -q --alluredir report生成xml测试报告时,报如下错误信息,如图 以上错误在于在生成allure测试报告时,没有指定相关的测试用例,所以无法生成相关的xml测试报告,解决方法:在测试报告存放路径后面添加指定的测试用例,比如:pytest -s -q --alluredir report test_xxx.py,加入用例路径后就可以生成allure测试报
相关文章
相关标签/搜索