diff options
| author | zhangzilong <[email protected]> | 2024-01-08 14:37:09 +0800 |
|---|---|---|
| committer | zhangzilong <[email protected]> | 2024-01-08 14:37:09 +0800 |
| commit | dba68952cea65026a1777e7baea15e7cfb2bd596 (patch) | |
| tree | 388b8397830d21d6c60f6cb8c9c7bdffb095690c /main.py | |
| parent | a0d972dad9e02b06a9731c3806ea15abd55df7af (diff) | |
修改vsys定位
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/main.py b/main.py deleted file mode 100644 index b00a0092..00000000 --- a/main.py +++ /dev/null @@ -1,29 +0,0 @@ -import pytest - - - - - - -if __name__ == '__main__': - pytest.main(["-cache-clear","-s", "-v", "cases/","--check-max-tb","9000","--alluredir","./results/reports"]) - - """ - # 在测试文件的当前路径执行如下命令执行测试用例: - --max - pytest -cache-clear -sv ./cases/ 直接执行pytest测试命令 - pytest –cache-clear -v pytest_json.py --alluredir ./results/reports - --check-max-tb 9000 #最大校验 - --reruns=1 #失败重运行次数 - pytest -cache-clear -sv ./cases/ui --check-max-tb 9000 --alluredir ./results/reports - pytest -cache-clear -sv ./cases/ui --check-max-tb 9000 --reruns=1 --alluredir ./results/reports - allure serve ./results/reports - # 执行如下命令生成测试报告(自动打开浏览器): - allure serve allure - - - 使用allure插件生成的在线报告。 - 1.执行的命令: pytest -cache-clear -sv ./cases --check-max-tb 9000 --alluredir ./results/reports - 2.跑完后,生成报告的命令: allure serve ./results/reports - - """
\ No newline at end of file |
