In StoryControls you have the flag skipScenariosAfterFailure that you can set 
to true or false (default).

So what you're describing should be the default behaviour.


On 28 Feb 2013, at 15:07, Mary Walshe <[email protected]> wrote:

> It would be in the case where there are multiple scenarios in one story file.
> 
> If the first scenario fails I would like the following scenarios in that same 
> story file to run. E.g
> 
> In order to do something
> As a developer
> I want the following
> 
> Scenario 1
> Given foo
> When bar
> Then something happens (This scenario FAILS)
> 
> Scenario 2 (I want this scenario to run)
> Given foo1
> When bar1
> Then something happens 
> 
> Currently if one scenarios fails in a story the whole story fails and none of 
> the preceding scenarios are run. 
> 
> I have ignoreFailureInStories set to true at the moment but this only goes to 
> the next story after a failure and not the next scenario.
> 
> Cheers,
> Mary

Reply via email to