Hi Simon,

could you please try upgrading to 3.2 and seeing if the issue persists?

Also,  an example verifying the behaviour of @AfterScenario can be found in:

https://github.com/jbehave/jbehave-core/blob/master/examples/trader/src/main/java/org/jbehave/examples/trader/stories/after_scenario_outcome.story

Cheers

On 03/03/2011 10:58, Simon Kent wrote:
> Hi!
>  
> I am using JBehave V3.1.2. I have a story with multiple scenarios
> which uses results tables. The AfterScenario code does not appear to
> run (or at least only on the last scenario). Is this a known issue?
> e.g.
> Scenario: scenario1
> Given xxxx
> When yyyy
> Then we get the data:
> |1|2|3|
> |4|5|6|
>  
> !—if we added another step here it does fire the AfterScenario code
>  
> Scenario: scenario2
> ....

Reply via email to