Annotation Interface BeforeScenario


@Retention(RUNTIME) @Target(METHOD) @Documented public @interface BeforeScenario
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Lifecycle hooks with the higher order will be executed first
    Signals that the annotated method should be invoked only upon given type
  • Element Details

    • uponType

      ScenarioType uponType
      Signals 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 order
      Lifecycle hooks with the higher order will be executed first
      Returns:
      order value
      Default:
      0