Closed
Description
When using the @AfterExample
annotation, the initial instance of the fixture is used, rather than the instance relating to the specific example. This is visible with the per_example_parallel
branch of concordion-scope-examples.
The cause appears to be since the listener is created once for all examples in ConcordionBuilder:
FixtureExampleHook fixtureExampleHook = new FixtureExampleHook(fixture);
withOuterExampleListener(fixtureExampleHook);
withExampleListener(fixtureExampleHook);