StoryRunner.runParametrisedScenariosByExamples does not execute the examples after the first failure
Description
Currently, the method StoryRunner.runParametrisedScenariosByExamples does not check the configuration and whenever a step fails all subsequent examples are reported as not performed.
A simple fix would be to do this before calling the runScenarioSteps method:
Currently, the method StoryRunner.runParametrisedScenariosByExamples does not
check the configuration and whenever a step fails all subsequent examples are
reported as not performed.
A simple fix would be to do this before calling the runScenarioSteps method:
if(context.configuration().storyControls().resetStateBeforeScenario()) {
context.resetState();
}
Thanks