TA的每日心情 | 开心 2023-9-4 15:59 |
---|
签到天数: 445 天 [LV.9]以坛为家II
|
- if __name__ == "__main__":
- pytest.main(["../test_case1.py","--html=../report/report.html","--junitxml=../report/report.xml","--alluredir","../report/allurereport/"])
- # Generate html reports
- pytest.main(["../test_case1.py", "--html=../report/report.html"])
- # Generate xml reports
- pytest.main(["../test_case1.py", "----junitxml=../report/report.xml"])
- # Generate allure reports
- # E:\自动化测试项目\Requests_api\report>allure generate ./allurereport/ -o ./reporthtml/ --clean
- pytest.main(["../test_case1.py", "--alluredir","../report/allurereport/"])
复制代码 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|