Package org.junit.jupiter.api.extension
Annotation Type 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:
RegisterExtension,Extension
-
Required Element Summary