StoryRunner.runParametrisedScenariosByExamples does not execute the examples
after the first failure
----------------------------------------------------------------------------------------------------
Key: JBEHAVE-547
URL: https://jira.codehaus.org/browse/JBEHAVE-547
Project: JBehave
Issue Type: Bug
Components: Core
Affects Versions: 3.4.5
Environment: Windows XP, Eclipse Helios
Reporter: Plamen Gurov
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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email