采用 pytest-parallel 多线程时,为什么生成不了 allure 报告。

仙童
仙童
订阅者
643
文章
0
粉丝
测试交流评论183字数 91阅读0分18秒阅读模式

我采用的参数为:--workers=1 --tests-per-worker 1,在 pytest.ini 中增加了这个参数,执行 pytest.main(),然后采用
allure generate ' + allure_path + ' -o ' + reports_path + ' --clean' 生成对应的测试报告,却无法生成测试报告,allure_path 也为空,把这个参数去掉,却可以生成。
麻烦大佬们解答下,感谢。

软件测试 视频文章源自玩技e族-https://www.playezu.com/184171.html 文章源自玩技e族-https://www.playezu.com/184171.html

 
匿名

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定

拖动滑块以完成验证