Skip to content

Commit

Permalink
Merge pull request #117 from Marszzz1116/master
Browse files Browse the repository at this point in the history
fix: 处理setup状态failed时不会回填pms结果
  • Loading branch information
mikigo authored Oct 18, 2024
2 parents 24879d1 + e96fe23 commit 87c8223
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,8 @@ def pytest_runtest_makereport(item, call):
logger.info(testcase_url)
else:
allure.dynamic.tag(mark.name)
if report.outcome == "failed":
write_case_result(item, report)
if report.when == "call":
logger.info(f"运行结果: {str(report.outcome).upper()}")
if write_json(item.session):
Expand Down

0 comments on commit 87c8223

Please sign in to comment.