Uses of Interface
org.junit.jupiter.api.extension.Extension
Packages that use Extension
Package
Description
JUnit Jupiter API for writing extensions.
JUnit Jupiter API support for writing extensions.
-
Uses of Extension in org.junit.jupiter.api.extension
Subinterfaces of Extension in org.junit.jupiter.api.extensionModifier and TypeInterfaceDescriptioninterfaceAfterAllCallbackdefines the API forExtensionsthat wish to provide additional behavior to test containers once after all tests in the container have been executed.interfaceAfterClassTemplateInvocationCallbackdefines the API forExtensionsthat wish to provide additional behavior once before each invocation of a@ClassTemplate.interfaceAfterEachCallbackdefines 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.interfaceAfterTestExecutionCallbackdefines 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.interfaceBeforeAllCallbackdefines the API forExtensionsthat wish to provide additional behavior to test containers once before all tests in the container have been executed.interfaceBeforeClassTemplateInvocationCallbackdefines the API forExtensionsthat wish to provide additional behavior once before each invocation of a@ClassTemplate.interfaceBeforeEachCallbackdefines 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.interfaceBeforeTestExecutionCallbackdefines 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.interfaceClassTemplateInvocationContextProviderdefines the API forExtensionsthat wish to provide one or multiple contexts for the invocation of a@ClassTemplate.interfaceExecutionConditiondefines theExtensionAPI for programmatic, conditional test execution.interfaceInvocationInterceptordefines the API forExtensionsthat wish to intercept calls to test code.interfaceLifecycleMethodExecutionExceptionHandlerdefines the API forExtensionsthat wish to handle exceptions thrown during the execution of@BeforeAll,@BeforeEach,@AfterEach, and@AfterAlllifecycle methods.interfaceParameterResolverdefines the API forExtensionsthat wish to dynamically resolve arguments for parameters at runtime.interfacePreInterruptCallbackdefines the API forExtensionsthat wish to be called prior to invocations ofThread.interrupt()by theTimeoutextension.interfaceTestExecutionExceptionHandlerdefines the API forExtensionsthat wish to handle exceptions thrown during test execution.interfaceinterfaceTestInstancePostProcessordefines the API forExtensionsthat wish to post-process test instances.interfaceTestInstancePreConstructCallbackdefines the API forExtensionsthat wish to be invoked prior to creation of test instances.interfaceTestInstancePreDestroyCallbackdefines the API forExtensionsthat wish to process test instances after they have been used in tests but before they are destroyed.interfaceInterface forExtensionsthat are aware and can influence the instantiation of test instances.interfaceTestTemplateInvocationContextProviderdefines the API forExtensionsthat wish to provide one or multiple contexts for the invocation of a@TestTemplatemethod.interfaceTestWatcherdefines the API forExtensionsthat wish to process test results.Methods in org.junit.jupiter.api.extension that return types with arguments of type ExtensionModifier and TypeMethodDescriptionClassTemplateInvocationContext.getAdditionalExtensions()Get the additional extensions for this invocation.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 ExtensionModifier and TypeClassDescriptionclassTypeBasedParameterResolver<T extends @Nullable Object>ParameterResolveradapter which resolves a parameter based on its exact type.