change: remove --failfast argument, stop test run on the first error or failure by default

This commit is contained in:
debugtalk
2020-04-23 18:46:18 +08:00
parent ee903e12e8
commit 910b335e9d
4 changed files with 5 additions and 9 deletions

View File

@@ -54,16 +54,12 @@ def init_parser_run(subparsers):
sub_parser_run.add_argument(
'--save-tests', action='store_true', default=False,
help="Save loaded/parsed/vars_out/summary json data to JSON files.")
sub_parser_run.add_argument(
'--failfast', action='store_true', default=False,
help="Stop the test run on the first error or failure.")
return sub_parser_run
def main_run(args):
runner = HttpRunner(
failfast=args.failfast,
save_tests=args.save_tests,
log_level=args.log_level,
log_file=args.log_file