Package org.junit.jupiter.api.extension
Annotation Interface ExtendWith
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Inherited
@Repeatable(Extensions.class)
@API(status=STABLE,
since="5.0")
public @interface ExtendWith
@ExtendWith is a repeatable annotation
that is used to register extensions for the
annotated test class or test method.
Supported Extension APIs
ExecutionConditionInvocationInterceptorBeforeAllCallbackAfterAllCallbackBeforeEachCallbackAfterEachCallbackBeforeTestExecutionCallbackAfterTestExecutionCallbackTestInstanceFactoryTestInstancePostProcessorTestInstancePreDestroyCallbackParameterResolverTestExecutionExceptionHandlerTestTemplateInvocationContextProvider
- Since:
- 5.0
- See Also:
-
Required Element Summary
Required Elements
-
Element Details
-
value
An array of one or moreExtensionclasses to register.
-