We just discovered that @AfterScenario does not execute for each
iteration of a parameterized scenario. Is there any reason for this?
It seems like a bug - there should be a hook that lets one clean
up after (or before for @BeforeScenario) each iteration of a
parameterized scenario. In my case, I want to print out the ids of
the user and transaction created for each iteration, in addition
to cleaning these up in our context class so they don't pollute
the next test. It doesn't seem right to have an explicit cleanup step
only used for parameterized scenarios.
Does anyone depend on having @AfterScenario and @BeforeScenario only
execute after/before all the scenarios in a param scenario run?
Bill
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email