Package com.tngtech.jgiven.annotation
Annotation Type ExpectedScenarioState
-
@Documented @Retention(RUNTIME) @Target(FIELD) public @interface ExpectedScenarioState
Marks fields to be expected by a scenario stage. The annotation behaves exactly likeScenarioState
, but better indicates the usage of a field.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
required
Marks this state as required for the stage.ScenarioState.Resolution
resolution
-
-
-
Element Detail
-
resolution
ScenarioState.Resolution resolution
- Default:
- com.tngtech.jgiven.annotation.ScenarioState.Resolution.AUTO
-
-