@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
ExecutionCondition
InvocationInterceptor
BeforeAllCallback
AfterAllCallback
BeforeEachCallback
AfterEachCallback
BeforeTestExecutionCallback
AfterTestExecutionCallback
TestInstanceFactory
TestInstancePostProcessor
TestInstancePreDestroyCallback
ParameterResolver
TestExecutionExceptionHandler
TestTemplateInvocationContextProvider
- Since:
- 5.0
- See Also:
RegisterExtension
,Extension
-
Required Element Summary
-
Element Details
-
value
An array of one or moreExtension
classes to register.
-