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.
IO-related support in JUnit Jupiter.
-
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.ExecutableInvoker
allows invoking methods and constructors with support for dynamic resolution of parameters viaParameterResolvers
.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
ExtensionContext
encapsulates the context in which the current test or container is being executed.