Package com.tngtech.jgiven.annotation
Annotation Type BeforeStage
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface BeforeStage
Marks methods to be executed before a stage is executed, i.e. before the first step is executed.In particular, all values are injected at this point.
If marked as repeatable, the
@BeforeStage
method will execute every time a stage is reused; if not marked as repeatable,it is guaranteed that the@BeforeStage
method is invoked only once.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
repeatable
marks a before stage method for repeated execution.
-