feat(report): add pytest-html + junitxml report generation to pytest.ini

pytest-html generates self-contained HTML report at output/reports/report.html
junitxml output at output/reports/junit.xml for CI integration
This commit is contained in:
xst
2026-07-23 16:36:39 +08:00
parent a361ba7053
commit 6ff65ec5c8
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -16,6 +16,9 @@ addopts =
--strict-markers
--disable-warnings
-p no:cacheprovider
--html=output/reports/report.html
--self-contained-html
--junitxml=output/reports/junit.xml
# 自定义 markers
markers =