PendingErrorStrategy choices needs one more.
--------------------------------------------

                 Key: JBEHAVE-146
                 URL: http://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 contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.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


Reply via email to