Hi Ben, you need to set batch="true" and ignoreFailure="false" in the scenario runner task to have the scenarios failures be detected after all stories have been run. Else, batch="false" and ignoreFailure="false" will fail-fast after each story.
http://jbehave.org/reference/stable/running-scenarios.html Cheers On 03/05/2010 09:39, Ben Sullivan wrote: > Hi > > I have switched off fail fast in order to render my reports. How do I ensure > my build fails at the end if scenarios have failed? Normally there is an > errorProperty and/or failProperty that can be detected at the end. Without > this, my CI build always gives me green even if I have failed scenarios. > > Thanks > > Ben > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
