Uses of Interface
org.junit.jupiter.api.extension.Extension
-
Packages that use Extension Package Description org.junit.jupiter.api.extension JUnit Jupiter API for writing extensions.org.junit.jupiter.engine.execution Internal classes for test execution within the JUnit Jupiter test engine.org.junit.jupiter.engine.extension Test extensions specific to the JUnit Jupiter test engine.org.junit.jupiter.migrationsupport.rules Extensions which provide (limited) support for JUnit 4 rules within JUnit Jupiter. -
-
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 after all tests have been invoked.interfaceAfterEachCallbackAfterEachCallbackdefines the API forExtensionsthat wish to provide additional behavior to tests after each test method has been invoked.interfaceAfterTestExecutionCallbackAfterTestExecutionCallbackdefines the API forExtensionsthat wish to provide additional behavior to tests immediately after each test has been executed.interfaceBeforeAllCallbackBeforeAllCallbackdefines the API forExtensionsthat wish to provide additional behavior to test containers before all tests are invoked.interfaceBeforeEachCallbackBeforeEachCallbackdefines the API forExtensionsthat wish to provide additional behavior to tests before each test is invoked.interfaceBeforeTestExecutionCallbackBeforeTestExecutionCallbackdefines the API forExtensionsthat wish to provide additional behavior to tests immediately before each test is executed.interfaceExecutionConditionExecutionConditiondefines theExtensionAPI for programmatic, conditional test execution.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.interfaceTestInstancePostProcessorTestInstancePostProcessordefines the API forExtensionsthat wish to post-process test instances.interfaceTestTemplateInvocationContextProviderTestTemplateInvocationContextProviderdefines the API forExtensionsthat wish to provide one or multiple contexts for the invocation of a@TestTemplatemethod.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.engine.execution
Subinterfaces of Extension in org.junit.jupiter.engine.execution Modifier and Type Interface Description interfaceAfterEachMethodAdapterFunctional interface for registering an@AfterEachmethod as a pseudo-extension.interfaceBeforeEachMethodAdapterFunctional interface for registering a@BeforeEachmethod as a pseudo-extension. -
Uses of Extension in org.junit.jupiter.engine.extension
Methods in org.junit.jupiter.engine.extension with type parameters of type Extension Modifier and Type Method Description <E extends Extension>
java.util.List<E>ExtensionRegistry. getExtensions(java.lang.Class<E> extensionType)Get allExtensionsof the specified type that are present in this registry or one of its ancestors.<E extends Extension>
java.util.List<E>ExtensionRegistry. getReversedExtensions(java.lang.Class<E> extensionType)Get allExtensionsof the specified type that are present in this registry or one of its ancestors, in reverse order.<E extends Extension>
java.util.stream.Stream<E>ExtensionRegistry. stream(java.lang.Class<E> extensionType)Stream allExtensionsof the specified type that are present in this registry or one of its ancestors.Methods in org.junit.jupiter.engine.extension with parameters of type Extension Modifier and Type Method Description voidExtensionRegistry. registerExtension(Extension extension, java.lang.Object source)Register the suppliedExtensionin this registry, without checking if an extension of that type already exists in this registry.Method parameters in org.junit.jupiter.engine.extension with type arguments of type Extension Modifier and Type Method Description static ExtensionRegistryExtensionRegistry. createRegistryFrom(ExtensionRegistry parentRegistry, java.util.List<java.lang.Class<? extends Extension>> extensionTypes)Factory for creating and populating a new registry from a list of extension types and a parent registry. -
Uses of Extension in org.junit.jupiter.migrationsupport.rules
Classes in org.junit.jupiter.migrationsupport.rules that implement Extension Modifier and Type Class Description classExpectedExceptionSupportThisExtensionprovides native support for theExpectedExceptionrule from JUnit 4.classExternalResourceSupportThisExtensionprovides native support for subclasses of theExternalResourcerule from JUnit 4.classVerifierSupportThisExtensionprovides native support for subclasses of theVerifierrule from JUnit 4.
-