Annotation Interface ScenarioState


@Documented @Retention(RUNTIME) @Target(FIELD) public @interface ScenarioState
Marks fields to be read and/or written by a scenario stage.
  • Element Details

    • resolution

      Default:
      AUTO
    • required

      boolean required
      Marks this state as required for the stage. If in this case the state isn't provided, a JGivenMissingRequiredScenarioStateException will be thrown.
      Since:
      0.14.0
      Default:
      false
    • guaranteed

      boolean guaranteed
      Default:
      false