Stop the test run on the first error or failure.

This commit is contained in:
httprunner
2017-07-24 22:16:15 +08:00
parent 7901a8e26a
commit 137b381957

View File

@@ -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)