[
https://jira.codehaus.org/browse/JBEHAVE-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mauro Talevi updated JBEHAVE-146:
---------------------------------
Comment: was deleted
(was: Paul, do you feel you still need more choices?)
> PendingErrorStrategy choices needs one more.
> --------------------------------------------
>
> Key: JBEHAVE-146
> URL: https://jira.codehaus.org/browse/JBEHAVE-146
> Project: JBehave
> Issue Type: Wish
> Affects Versions: 2.1
> Reporter: Paul Hammant
>
> PASSING and SILENT are identical method bodies
> The same is true of FAILING and RETHROW
> [ moving past that issue ]
> Could y'all make one more strategy ?
> {noformat}
> /**
> * This will continue the scenario as PASSING would, but at the end,
> remember that there was an issue during the run, and throw it again then.
> */
> PendingErrorStrategy FAIL_LATER = new PendingErrorStrategy() {
> public void handleError(Throwable throwable) {
> // ??
> }
> };
> {noformat}
> Note, I've even given you some /** Javadoc */ for this, as
> http://jbehave.org/javadoc/latest/core/org/jbehave/scenario/errors/PendingErrorStrategy.html
> is a little sparse on information ;-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email