| Interface | Description |
|---|---|
| AfterAllExtensionPoint |
AfterAllExtensionPoint defines the API for Extensions that wish to provide additional behavior to tests after
all test methods have been invoked. |
| AfterEachExtensionPoint |
AfterEachExtensionPoint defines the API for Extensions that wish to provide additional behavior to tests
after each test method has been invoked. |
| BeforeAllExtensionPoint |
BeforeAllExtensionPoint defines the API for Extensions that wish to provide additional behavior to tests before
all test methods have been invoked. |
| BeforeEachExtensionPoint |
BeforeEachExtensionPoint defines the API for Extensions that wish to provide additional behavior to tests before
each test method has been invoked. |
| ContainerExecutionCondition |
ContainerExecutionCondition defines an ExtensionPoint for
programmatic, conditional container execution. |
| ContainerExtensionContext |
ContainerExtensionContext encapsulates the context in which
the current container is being executed. |
| ExceptionHandlerExtensionPoint |
ExceptionHandlerExtensionPoint defines the API for Extensions
that wish to react to thrown exceptions in tests. |
| 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. |
| ExtensionPoint |
Super interface for all extension points.
|
| ExtensionPointRegistry |
A registry for
ExtensionPoint implementations which can be
populated via an ExtensionRegistrar. |
| ExtensionRegistrar |
Interface to be implemented by extensions that
wish to programmatically register
ExtensionPoint implementations
in the ExtensionPointRegistry — for example, if a
Position other than
DEFAULT is desired. |
| InstancePostProcessor |
InstancePostProcessor defines the API for Extensions that wish to post-process test instances. |
| MethodInvocationContext |
MethodInvocationContext encapsulates the context in which
a method is to be invoked. |
| MethodParameterResolver |
MethodParameterResolver defines the API for Extensions that wish to dynamically resolve method parameters at runtime. |
| TestExecutionCondition |
TestExecutionCondition defines an ExtensionPoint for
programmatic, conditional test execution. |
| TestExtensionContext |
TestExtensionContext encapsulates the context in which
the current test is being executed. |
| Class | Description |
|---|---|
| ConditionEvaluationResult |
The result of evaluating a
ContainerExecutionCondition or
TestExecutionCondition. |
| ExtensionContext.Namespace |
Instances of this class are used to give saved data in extensions a scope, so that
extensions won't accidentally mix up data across each other or across different invocations
within their lifecycle.
|
| Enum | Description |
|---|---|
| ExtensionPointRegistry.Position |
Position specifies the position in which a registered
ExtensionPoint is applied with regard to all other registered
extension points of the same type. |
| Exception | Description |
|---|---|
| ExtensionConfigurationException |
Thrown if an error is encountered regarding the configuration of an
extension.
|
| ParameterResolutionException |
Thrown if an error is encountered in the configuration or execution of a
MethodParameterResolver. |
| Annotation Type | Description |
|---|---|
| ExtendWith |
@ExtendWith is a repeatable annotation
that is used to register extensions for the
annotated test class or test method. |
| Extensions |
@Extensions is a container for one or more @ExtendWith
declarations. |