Yes, this functionality may sometimes come in handy.
The PR has been pulled with a some minor changes.
Do you want to add a doc page detailing a more realistic use of this
features?
On 20/07/2015 18:31, Rafael Jimenez wrote:
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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[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
<https://groups.google.com/d/msgid/jbehave-dev/fe043317-61ab-43eb-a781-fbe127d1cead%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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/55AD417E.9050001%40aquilonia.org.
For more options, visit https://groups.google.com/d/optout.