mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 19:39:44 +08:00
Stop the test run on the first error or failure.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user