Uses of Package
org.junit.jupiter.api.extension
Package
Description
Annotation-based conditions for enabling or disabling tests in JUnit Jupiter.
JUnit Jupiter API for writing extensions.
JUnit Jupiter API support for writing extensions.
Configuration specific to the JUnit Jupiter test engine.
Test descriptors used within the JUnit Jupiter test engine.
Internal classes for test execution within the JUnit Jupiter test engine.
Test extensions specific to the JUnit Jupiter test engine.
Support for migrating from JUnit 4 to JUnit Jupiter.
Extensions which provide support for conditional test execution features of
JUnit 4 (e.g., the
@Ignore
annotation) within JUnit
Jupiter.Extensions which provide (limited) support for JUnit 4 rules within JUnit Jupiter.
JUnit Jupiter extension for parameterized tests.
ArgumentConverter
implementations and the corresponding
@ConvertWith
annotation.ArgumentsProvider
implementations and their corresponding
ArgumentsSource
annotations.-
ClassDescription
@ExtendWith
is a repeatable annotation that is used to register extensions for the annotated test class, test interface, test method, parameter, or field. -
ClassDescriptionThe result of evaluating an
ExecutionCondition
.DynamicTestInvocationContext
represents the context of a single invocation of a dynamic test.Marker interface for all extensions.ExtensionContext
encapsulates the context in which the current test or container is being executed.ANamespace
is used to provide a scope for data saved by extensions within aExtensionContext.Store
.Store
provides methods for extensions to save and retrieve data.An invocation that returns a result and may throw aThrowable
.ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
.Thrown if an error is encountered in the configuration or execution of aParameterResolver
.ReflectiveInvocationContext
encapsulates the context of a reflective invocation of an executable (method or constructor).TestInstanceFactoryContext
encapsulates the context in which a test class is to be instantiated by aTestInstanceFactory
.TestInstances
encapsulates the test instances of a test.Thrown if an error is encountered during the execution of aTestInstanceFactory
.TestTemplateInvocationContext
represents the context of a single invocation of a test template. -
ClassDescriptionMarker interface for all extensions.
ExtensionContext
encapsulates the context in which the current test or container is being executed.ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
.Thrown if an error is encountered in the configuration or execution of aParameterResolver
.ParameterResolver
defines the API forExtensions
that wish to dynamically resolve arguments for parameters at runtime. -
ClassDescription
ExecutionCondition
defines theExtension
API for programmatic, conditional test execution. -
ClassDescription
ExtensionContext
encapsulates the context in which the current test or container is being executed.TestInstances
encapsulates the test instances of a test.TestWatcher
defines the API forExtensions
that wish to process test results. -
ClassDescriptionThe result of evaluating an
ExecutionCondition
.Marker interface for all extensions.ExtensionContext
encapsulates the context in which the current test or container is being executed.ANamespace
is used to provide a scope for data saved by extensions within aExtensionContext.Store
.Store
provides methods for extensions to save and retrieve data.InvocationInterceptor
defines the API forExtensions
that wish to intercept calls to test code.An invocation that returns a result and may throw aThrowable
.ReflectiveInvocationContext
encapsulates the context of a reflective invocation of an executable (method or constructor).TestInstances
encapsulates the test instances of a test. -
-
ClassDescription
@ExtendWith
is a repeatable annotation that is used to register extensions for the annotated test class, test interface, test method, parameter, or field. -
ClassDescriptionThe result of evaluating an
ExecutionCondition
.ExecutionCondition
defines theExtension
API for programmatic, conditional test execution.Marker interface for all extensions.ExtensionContext
encapsulates the context in which the current test or container is being executed. -
ClassDescription
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
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.Marker interface for all extensions.ExtensionContext
encapsulates the context in which the current test or container is being executed.@Extensions
is a container for one or more@ExtendWith
declarations.TestExecutionExceptionHandler
defines the API forExtensions
that wish to handle exceptions thrown during test execution. -
ClassDescription
@ExtendWith
is a repeatable annotation that is used to register extensions for the annotated test class, test interface, test method, parameter, or field. -
ClassDescription
ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
. -
ClassDescription
ParameterContext
encapsulates the context in which anExecutable
will be invoked for a givenParameter
. -
ClassDescription
ExtensionContext
encapsulates the context in which the current test or container is being executed.