Hi all,

JBEHAVE-1108 <https://jbehave.atlassian.net/browse/JBEHAVE-1108> Under 
certain circumstances, it is very useful to avoid of the execution of the 
following steps, without failing the tests.


This is very similar to TestNG's SkipException concept.


Following the same approach than RestartingScenarioFailure and 
RestartingStoryFailure, when IgnoringStepsFailure is thrown, the step where 
it was thrown, and following ones, will be considered as Ignorable.


PR https://github.com/jbehave/jbehave-core/pull/89 has been created.


I've added a check, before performing each step, to see if it should be 
ignored, in that cause it will reported as ignorable only, otherwise it is 
normally run. Take into account that step throwing IgnoringStepsFailure, is 
marked as ignored too.


I am not very familiar with JBehave code, thus I cannot see any more 
elegant way to do it, anyway I think this doesn't add too much overhead.



Best Regards,


Rafa.

-- 
You received this message because you are subscribed to the Google Groups 
"JBehave Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/jbehave-dev/fe043317-61ab-43eb-a781-fbe127d1cead%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to