Package com.tngtech.jgiven.annotation
Annotation Interface AfterStage
Marks methods to be executed after a stage has been executed.
This essentially means that the method is executed
either on next call of a step method of the next stage,
or, for the last stage, after the scenario (but before any
AfterScenario method).
If marked as repeatable, the @AfterStage method will execute every time a stage is reused;
if not marked as repeatable,it is guaranteed that the @AfterStage method is invoked only once.
@AfterStage can be used to finish builders, for example.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanmarks an after stage method for repeated execution.
-
Element Details
-
repeatable
boolean repeatablemarks an after stage method for repeated execution.- Default:
- false
-