dump test result summary to json file

This commit is contained in:
debugtalk
2018-11-25 23:52:11 +08:00
parent 3183064885
commit 680ed1a1ba
2 changed files with 40 additions and 15 deletions

View File

@@ -162,6 +162,9 @@ class HttpRunner(object):
self.exception_stage = "aggregate results"
self._summary = self._aggregate(results)
if self.save_tests:
utils.dump_summary(self._summary, tests_mapping["project_mapping"])
# generate html report
self.exception_stage = "generate html report"
report_path = report.render_html_report(