Package com.tngtech.jgiven.annotation
Annotation Interface ScenarioState
Marks fields to be read and/or written by a scenario stage.
-
Nested Class Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
boolean
Marks this state as required for the stage.
-
Element Details
-
resolution
ScenarioState.Resolution resolution- Default:
- AUTO
-
required
boolean requiredMarks this state as required for the stage. If in this case the state isn't provided, aJGivenMissingRequiredScenarioStateException
will be thrown.- Since:
- 0.14.0
- Default:
- false
-
guaranteed
boolean guaranteed- Default:
- false
-