Carlos Silva | 31 Jan 20:29
Favicon

Not ignoring failures in GivenStories

Hi I'm trying to stop the execution of my story steps (mark as pending) whenever there is a failure in any of my GivenStories I know that I can set doIgnoreFailureInStories to true but this will not run all my other stand alone stories and I only want to stop execution when any given story fails. Any help appreciated.
Mauro Talevi | 1 Feb 09:35

Re: Not ignoring failures in GivenStories

Hi Carlos, 

to control execution upon pending steps, you should configure the 
appropriate PendingStepStrategy via the Configuration:

http://jbehave.org/reference/stable/pending-steps.html

So, choose FailingUponPendingStep if you want to stop execution without 
ignoring failures in stories.

Cheers

On Tue Jan 31 20:29:50 2012, Carlos Silva wrote:
> Hi I'm trying to stop the execution of my story steps (mark as 
> pending) whenever there is a failure in any of my GivenStories I know 
> that I can set doIgnoreFailureInStories to true but this will not run 
> all my other stand alone stories and I only want to stop execution 
> when any given story fails. Any help appreciated.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Gmane