Details
Description
It would be nice to have annotations (or any other way) to run some methods before and after each example.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 3.5 [ 17393 ] |
| Assignee | Mauro Talevi [ maurotalevi ] |
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Summary | @BeforeExample und @AfterExample | Add support for annotated steps before and after example scenarios |
| Attachment | FixedStoryRunner.java [ 56740 ] |
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
As an addition to this, it would be good to add an afterExample() method to org.jbehave.core.reporters.StoryReporter. There is currently only a hook at afterExamples()