问题描述
代码工作正常(运行测试并创建报告),但有时不创建报告(成功尝试次数后)
testExecution = ['test_1','test_3']
temp = “C:\test_regression.py::”
测试 = []
对于 testExecution 中的 f:
test.append(temp + "".join(f))
test.append('--html=C:\report6.html')
pytest.main(args=test)
最后: 测试 = ['C:\test_regression.py::test_1''C:\test_regression.py::test_3' '--html=C:\Vadim\report6.html']
请帮忙,有什么想法吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)