From 96696409496e98d3b8a421a3581433739c1cbed7 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Mon, 24 Jul 2017 22:16:15 +0800 Subject: [PATCH] Stop the test run on the first error or failure. --- ate/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ate/cli.py b/ate/cli.py index aafed92f..cd89904a 100644 --- a/ate/cli.py +++ b/ate/cli.py @@ -48,6 +48,7 @@ def main(): output_folder_name = os.path.basename(os.path.splitext(testset_path)[0]) kwargs = { "output": output_folder_name, - "report_name": report_name + "report_name": report_name, + "failfast": True } PyUnitReport.HTMLTestRunner(**kwargs).run(task_suite)