Uses of Package
org.junit.jupiter.api.extension
-
Packages that use org.junit.jupiter.api.extension Package Description org.junit.jupiter.api.condition Annotation-based conditions for enabling or disabling tests in JUnit Jupiter.org.junit.jupiter.api.extension JUnit Jupiter API for writing extensions.org.junit.jupiter.api.extension.support JUnit Jupiter API support for writing extensions.org.junit.jupiter.engine.config Configuration specific to the JUnit Jupiter test engine.org.junit.jupiter.engine.descriptor Test descriptors used within the JUnit Jupiter test engine.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 Support for migrating from JUnit 4 to JUnit Jupiter.org.junit.jupiter.migrationsupport.conditions Extensions which provide support for conditional test execution features of JUnit 4 (e.g., the@Ignore
annotation) within JUnit Jupiter.org.junit.jupiter.migrationsupport.rules Extensions which provide (limited) support for JUnit 4 rules within JUnit Jupiter.org.junit.jupiter.params JUnit Jupiter extension for parameterized tests.org.junit.jupiter.params.aggregator org.junit.jupiter.params.converter ArgumentConverter
implementations and the corresponding@ConvertWith
annotation.org.junit.jupiter.params.provider ArgumentsProvider
implementations and their correspondingArgumentsSource
annotations. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.api.condition Class Description ConditionEvaluationResult The result of evaluating anExecutionCondition
.ExecutionCondition ExecutionCondition
defines theExtension
API for programmatic, conditional test execution.ExtendWith @ExtendWith
is a repeatable annotation that is used to register extensions for the annotated test class, test interface, test method, parameter, or field.Extension Marker interface for all extensions.ExtensionContext ExtensionContext
encapsulates the context in which the current test or container is being executed. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.api.extension Class Description ConditionEvaluationResult The result of evaluating anExecutionCondition
.DynamicTestInvocationContext DynamicTestInvocationContext
represents the context of a single invocation of a dynamic test.ExtendWith @ExtendWith
is a repeatable annotation that is used to register extensions for the annotated test class, test interface, test method, parameter, or field.Extension Marker interface for all extensions.ExtensionContext ExtensionContext
encapsulates the context in which the current test or container is being executed.ExtensionContext.Namespace ANamespace
is used to provide a scope for data saved by extensions within aExtensionContext.Store
.ExtensionContext.Store Store
provides methods for extensions to save and retrieve data.InvocationInterceptor.Invocation An invocation that returns a result and may throw aThrowable
.ParameterContext ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
.ParameterResolutionException Thrown if an error is encountered in the configuration or execution of aParameterResolver
.ReflectiveInvocationContext ReflectiveInvocationContext
encapsulates the context of a reflective invocation of an executable (method or constructor).TestInstanceFactoryContext TestInstanceFactoryContext
encapsulates the context in which a test class is to be instantiated by aTestInstanceFactory
.TestInstances TestInstances
encapsulates the test instances of a test.TestInstantiationException Thrown if an error is encountered during the execution of aTestInstanceFactory
.TestTemplateInvocationContext TestTemplateInvocationContext
represents the context of a single invocation of a test template. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.api.extension.support Class Description Extension Marker interface for all extensions.ExtensionContext ExtensionContext
encapsulates the context in which the current test or container is being executed.ParameterContext ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
.ParameterResolutionException Thrown if an error is encountered in the configuration or execution of aParameterResolver
.ParameterResolver ParameterResolver
defines the API forExtensions
that wish to dynamically resolve arguments for parameters at runtime. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.engine.config Class Description ExecutionCondition ExecutionCondition
defines theExtension
API for programmatic, conditional test execution. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.engine.descriptor Class Description ConditionEvaluationResult The result of evaluating anExecutionCondition
.DynamicTestInvocationContext DynamicTestInvocationContext
represents the context of a single invocation of a dynamic test.ExtendWith @ExtendWith
is a repeatable annotation that is used to register extensions for the annotated test class, test interface, test method, parameter, or field.Extension Marker interface for all extensions.ExtensionContext ExtensionContext
encapsulates the context in which the current test or container is being executed.ExtensionContext.Namespace ANamespace
is used to provide a scope for data saved by extensions within aExtensionContext.Store
.ExtensionContext.Store Store
provides methods for extensions to save and retrieve data.TestInstanceFactory TestInstanceFactoryContext TestInstanceFactoryContext
encapsulates the context in which a test class is to be instantiated by aTestInstanceFactory
.TestInstances TestInstances
encapsulates the test instances of a test.TestTemplateInvocationContext TestTemplateInvocationContext
represents the context of a single invocation of a test template.TestTemplateInvocationContextProvider TestTemplateInvocationContextProvider
defines the API forExtensions
that wish to provide one or multiple contexts for the invocation of a@TestTemplate
method.TestWatcher TestWatcher
defines the API forExtensions
that wish to process test results. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.engine.execution Class Description ConditionEvaluationResult The result of evaluating anExecutionCondition
.ExecutionCondition ExecutionCondition
defines theExtension
API for programmatic, conditional test execution.Extension Marker interface for all extensions.ExtensionContext ExtensionContext
encapsulates the context in which the current test or container is being executed.ExtensionContext.Namespace ANamespace
is used to provide a scope for data saved by extensions within aExtensionContext.Store
.ExtensionContext.Store Store
provides methods for extensions to save and retrieve data.InvocationInterceptor InvocationInterceptor
defines the API forExtensions
that wish to intercept calls to test code.InvocationInterceptor.Invocation An invocation that returns a result and may throw aThrowable
.ParameterContext ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
.ParameterResolver ParameterResolver
defines the API forExtensions
that wish to dynamically resolve arguments for parameters at runtime.ReflectiveInvocationContext ReflectiveInvocationContext
encapsulates the context of a reflective invocation of an executable (method or constructor).TestInstances TestInstances
encapsulates the test instances of a test. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.engine.extension Class Description BeforeAllCallback BeforeAllCallback
defines the API forExtensions
that wish to provide additional behavior to test containers once before all tests in the container have been executed.BeforeEachCallback BeforeEachCallback
defines the API forExtensions
that wish to provide additional behavior to tests before an individual test and any user-defined setup methods (e.g.,@BeforeEach
methods) for that test have been executed.ConditionEvaluationResult The result of evaluating anExecutionCondition
.ExecutionCondition ExecutionCondition
defines theExtension
API for programmatic, conditional test execution.Extension Marker interface for all extensions.ExtensionContext ExtensionContext
encapsulates the context in which the current test or container is being executed.ExtensionContext.Namespace ANamespace
is used to provide a scope for data saved by extensions within aExtensionContext.Store
.ExtensionContext.Store.CloseableResource Classes implementing this interface indicate that they want toExtensionContext.Store.CloseableResource.close()
some underlying resource or resources when the enclosingStore
is closed.InvocationInterceptor InvocationInterceptor
defines the API forExtensions
that wish to intercept calls to test code.InvocationInterceptor.Invocation An invocation that returns a result and may throw aThrowable
.ParameterContext ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
.ParameterResolver ParameterResolver
defines the API forExtensions
that wish to dynamically resolve arguments for parameters at runtime.ReflectiveInvocationContext ReflectiveInvocationContext
encapsulates the context of a reflective invocation of an executable (method or constructor).TestTemplateInvocationContext TestTemplateInvocationContext
represents the context of a single invocation of a test template.TestTemplateInvocationContextProvider TestTemplateInvocationContextProvider
defines the API forExtensions
that wish to provide one or multiple contexts for the invocation of a@TestTemplate
method. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.migrationsupport Class Description ExtendWith @ExtendWith
is a repeatable annotation that is used to register extensions for the annotated test class, test interface, test method, parameter, or field. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.migrationsupport.conditions Class Description ConditionEvaluationResult The result of evaluating anExecutionCondition
.ExecutionCondition ExecutionCondition
defines theExtension
API for programmatic, conditional test execution.Extension Marker interface for all extensions.ExtensionContext ExtensionContext
encapsulates the context in which the current test or container is being executed. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.migrationsupport.rules Class Description AfterEachCallback AfterEachCallback
defines the API forExtensions
that wish to provide additional behavior to tests after an individual test and any user-defined teardown methods (e.g.,@AfterEach
methods) for that test have been executed.BeforeEachCallback BeforeEachCallback
defines the API forExtensions
that wish to provide additional behavior to tests before an individual test and any user-defined setup methods (e.g.,@BeforeEach
methods) for that test have been executed.Extension Marker interface for all extensions.ExtensionContext ExtensionContext
encapsulates the context in which the current test or container is being executed.ExtensionContext.Store Store
provides methods for extensions to save and retrieve data.Extensions @Extensions
is a container for one or more@ExtendWith
declarations.TestExecutionExceptionHandler TestExecutionExceptionHandler
defines the API forExtensions
that wish to handle exceptions thrown during test execution. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.params Class Description AfterTestExecutionCallback AfterTestExecutionCallback
defines the API forExtensions
that wish to provide additional behavior to tests immediately after an individual test has been executed but before any user-defined teardown methods (e.g.,@AfterEach
methods) have been executed for that test.ExtendWith @ExtendWith
is a repeatable annotation that is used to register extensions for the annotated test class, test interface, test method, parameter, or field.Extension Marker interface for all extensions.ExtensionContext ExtensionContext
encapsulates the context in which the current test or container is being executed.ExtensionContext.Namespace ANamespace
is used to provide a scope for data saved by extensions within aExtensionContext.Store
.ExtensionContext.Store Store
provides methods for extensions to save and retrieve data.ExtensionContext.Store.CloseableResource Classes implementing this interface indicate that they want toExtensionContext.Store.CloseableResource.close()
some underlying resource or resources when the enclosingStore
is closed.ParameterContext ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
.ParameterResolutionException Thrown if an error is encountered in the configuration or execution of aParameterResolver
.ParameterResolver ParameterResolver
defines the API forExtensions
that wish to dynamically resolve arguments for parameters at runtime.TestTemplateInvocationContext TestTemplateInvocationContext
represents the context of a single invocation of a test template.TestTemplateInvocationContextProvider TestTemplateInvocationContextProvider
defines the API forExtensions
that wish to provide one or multiple contexts for the invocation of a@TestTemplate
method. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.params.aggregator Class Description ParameterContext ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.params.converter Class Description ParameterContext ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
. -
Classes in org.junit.jupiter.api.extension used by org.junit.jupiter.params.provider Class Description ExtensionContext ExtensionContext
encapsulates the context in which the current test or container is being executed.