Uses of Interface
org.junit.jupiter.api.extension.Extension
| Package | Description |
|---|---|
| org.junit.jupiter.api.extension |
JUnit Jupiter API for writing extensions.
|
| org.junit.jupiter.api.extension.support |
JUnit Jupiter API support for writing extensions.
|
-
Uses of Extension in org.junit.jupiter.api.extension
Subinterfaces of Extension in org.junit.jupiter.api.extension Modifier and Type Interface Description interfaceAfterAllCallbackAfterAllCallbackdefines the API forExtensionsthat wish to provide additional behavior to test containers once after all tests in the container have been executed.interfaceAfterEachCallbackAfterEachCallbackdefines the API forExtensionsthat wish to provide additional behavior to tests after an individual test and any user-defined teardown methods (e.g.,@AfterEachmethods) for that test have been executed.interfaceAfterTestExecutionCallbackAfterTestExecutionCallbackdefines the API forExtensionsthat wish to provide additional behavior to tests immediately after an individual test has been executed but before any user-defined teardown methods (e.g.,@AfterEachmethods) have been executed for that test.interfaceBeforeAllCallbackBeforeAllCallbackdefines the API forExtensionsthat wish to provide additional behavior to test containers once before all tests in the container have been executed.interfaceBeforeEachCallbackBeforeEachCallbackdefines the API forExtensionsthat wish to provide additional behavior to tests before an individual test and any user-defined setup methods (e.g.,@BeforeEachmethods) for that test have been executed.interfaceBeforeTestExecutionCallbackBeforeTestExecutionCallbackdefines the API forExtensionsthat wish to provide additional behavior to tests immediately before an individual test is executed but after any user-defined setup methods (e.g.,@BeforeEachmethods) have been executed for that test.interfaceExecutionConditionExecutionConditiondefines theExtensionAPI for programmatic, conditional test execution.interfaceInvocationInterceptorInvocationInterceptordefines the API forExtensionsthat wish to intercept calls to test code.interfaceLifecycleMethodExecutionExceptionHandlerLifecycleMethodExecutionExceptionHandlerdefines the API forExtensionsthat wish to handle exceptions thrown during the execution of@BeforeAll,@BeforeEach,@AfterEach, and@AfterAlllifecycle methods.interfaceParameterResolverParameterResolverdefines the API forExtensionsthat wish to dynamically resolve arguments for parameters at runtime.interfaceTestExecutionExceptionHandlerTestExecutionExceptionHandlerdefines the API forExtensionsthat wish to handle exceptions thrown during test execution.interfaceTestInstanceFactoryinterfaceTestInstancePostProcessorTestInstancePostProcessordefines the API forExtensionsthat wish to post-process test instances.interfaceTestInstancePreDestroyCallbackTestInstancePreDestroyCallbackdefines the API forExtensionsthat wish to process test instances after they have been used in tests but before they are destroyed.interfaceTestTemplateInvocationContextProviderTestTemplateInvocationContextProviderdefines the API forExtensionsthat wish to provide one or multiple contexts for the invocation of a@TestTemplatemethod.interfaceTestWatcherTestWatcherdefines the API forExtensionsthat wish to process test results.Methods in org.junit.jupiter.api.extension that return types with arguments of type Extension Modifier and Type Method Description default java.util.List<Extension>TestTemplateInvocationContext. getAdditionalExtensions()Get the additional extensions for this invocation. -
Uses of Extension in org.junit.jupiter.api.extension.support
Classes in org.junit.jupiter.api.extension.support that implement Extension Modifier and Type Class Description classTypeBasedParameterResolver<T>ParameterResolveradapter which resolves a parameter based on its exact type.