From 023702f7d1d00015c1ba63c49e2161c58860efbc Mon Sep 17 00:00:00 2001 From: 阳洁 <2077506045@qq.com> Date: 星期三, 12 七月 2023 16:51:00 +0800 Subject: [PATCH] 测评系统自动测试 --- main.py | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/main.py b/main.py new file mode 100644 index 0000000..bc98d09 --- /dev/null +++ b/main.py @@ -0,0 +1,11 @@ +import pytest +import pytest_html +from testcase import test_smoking + + +def run_testcases(): + pytest.main(['-vs', '--html=report/report.html', 'testcase/test_smoking.py']) + + +if __name__ == '__main__': + run_testcases() -- Gitblit v1.9.1