Annotation Interface AfterScenario


@Retention(RUNTIME) @Target(METHOD) @Documented public @interface AfterScenario
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Optional Element Summary

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

    • uponOutcome

      Signals that the annotated method should be invoked only upon given outcome
      Returns:
      An Outcome upon which the method should be invoked
      Default:
      ANY
    • 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 last
      Returns:
      order value
      Default:
      0