Package org.junit.jupiter.api.extension
Interface Extension
-
- All Known Subinterfaces:
AfterAllCallback,AfterEachCallback,AfterEachMethodAdapter,AfterTestExecutionCallback,BeforeAllCallback,BeforeEachCallback,BeforeEachMethodAdapter,BeforeTestExecutionCallback,ExecutionCondition,ParameterResolver,TestExecutionExceptionHandler,TestInstancePostProcessor,TestTemplateInvocationContextProvider
- All Known Implementing Classes:
ExpectedExceptionSupport,ExternalResourceSupport,VerifierSupport
@API(status=STABLE, since="5.0") public interface Extension
Marker interface for all extensions.An
Extensioncan be registered declaratively via@ExtendWith.- Since:
- 5.0