Annotation Interface Given


@Retention(RUNTIME) @Target(METHOD) public @interface Given

An annotation to define a dependency of a method to which this is attached.

This annotation is read by the framework only when the PlanningStrategy#DEPENDENCY_BASED is activated and usually attached to methods for performing action to be verified.

This and @When annotations are used mutually exclusively.

See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns names of scenes on which attached scene method is depending.
  • Element Details

    • value

      String[] value
      Returns names of scenes on which attached scene method is depending.
      Returns:
      Names of scenes on which attached scene method is depending.
      See Also:
      Default:
      {}