Package org.jbehave.core.annotations
Annotation Interface BeforeScenario
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionint
Lifecycle hooks with the higher order will be executed firstSignals that the annotated method should be invoked only upon given type
-
Element Details
-
uponType
ScenarioType uponTypeSignals that the annotated method should be invoked only upon given type- Returns:
- A ScenarioType upon which the method should be invoked
- Default:
- ANY
-
order
int orderLifecycle hooks with the higher order will be executed first- Returns:
- order value
- Default:
- 0
-