Annotation Type Execution


  • @API(status=EXPERIMENTAL,
         since="5.3")
    @Retention(RUNTIME)
    @Target({TYPE,METHOD})
    @Inherited
    public @interface Execution
    @Execution is used to configure the parallel execution mode of a test class or test method.

    Since JUnit Jupiter 5.4, this annotation is inherited within class hierarchies.

    Since:
    5.3
    See Also:
    Isolated, ResourceLock
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      ExecutionMode value
      The required/preferred execution mode.