Add a way to stop if fail step and improve report accordingly

This commit is contained in:
Roch Bertucat
2020-12-18 11:22:14 +01:00
parent e01b677845
commit 9ffc2874da
2 changed files with 22 additions and 7 deletions
@@ -3,5 +3,5 @@ from behave.model import Scenario
def before_all(context):
userdata = context.config.userdata
continue_after_failed = True
continue_after_failed = userdata.getbool("runner.continue_after_failed_step", True)
Scenario.continue_after_failed_step = continue_after_failed