mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
ate: print output after tests
This commit is contained in:
@@ -78,6 +78,9 @@ def main_ate():
|
||||
if len(result.successes) != result.testsRun:
|
||||
subject = "FAILED"
|
||||
|
||||
for task in task_suite:
|
||||
task.print_output()
|
||||
|
||||
flag_code = 0 if subject == "SUCCESS" else 1
|
||||
if mailer and mailer.config_ready:
|
||||
mailer.send_mail(subject, results, flag_code)
|
||||
|
||||
Reference in New Issue
Block a user