I see how from within a StoryRunner I can override the run(...) and set a 
FailureStrategy on the configuration.  However, I'm trying to figure out if 
there is something I can instantiate my FailureStrategy with that will allow me 
to stop running any additional stories when handleFailure(...) is called.

Currently, I'm just logging the throwable and doing a System.exit(-1), but that 
isn't the most graceful thing in the world.

I like how configuration.storyControls().doSkipScenariosAfterFailure(true) will 
stop running any more Scenarios in a Story when a Scenario fails.  It would be 
cool if I could stop running any more Stories upon encountering a failed Story, 
short of a System.exit.

Any ideas?

Thanks,
Steve Maring

Reply via email to