Lifecycle steps: after upon outcome

Description

In JBehave it is possible to use lifecyle steps, which add steps before and after each scenario.

Lifecycle:
Before:
Given I have a bank account
And my balance is 100
After:
Then my balance is archived

If a step of the scenario fails, then the after steps are not executed.

This might be good in some situations, but in another situations it would be good that the after steps are executed even in case of a failure. For example one could do some cleanups there.

Can you please improve this so that it can be specified upon which outcome type the after steps are called in the story?

Assignee

Mauro Talevi

Reporter

Otto Diesel

Labels

None

Components

Fix versions

Priority

Major
Configure