Package io.cucumber.java
Annotation Type Before
Execute method before each scenario.
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueTag expression. If the expression applies to the current scenario this hook will be executed.- Returns:
- a tag expression
- Default:
- ""
-
order
int orderThe order in which this hook should run. Lower numbers are run first. The default order is 10000.- Returns:
- the order in which this hook should run.
- Default:
- 10000
-