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:

if(context.configuration().storyControls().resetStateBeforeScenario()) {
context.resetState();
}

Thanks

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created June 27, 2011 at 1:31 PM
Updated June 27, 2011 at 9:32 PM
Resolved June 27, 2011 at 9:32 PM