Interface | Description |
---|---|
AfterAllCallback |
AfterAllCallback defines the API for Extensions
that wish to provide additional behavior to test containers after all tests
have been invoked. |
AfterEachCallback |
AfterEachCallback defines the API for Extensions
that wish to provide additional behavior to tests after each test method
has been invoked. |
AfterTestExecutionCallback |
AfterTestExecutionCallback defines the API for Extensions that wish to provide additional behavior to tests immediately
after each test has been executed. |
BeforeAllCallback |
BeforeAllCallback defines the API for Extensions
that wish to provide additional behavior to test containers before all tests
are invoked. |
BeforeEachCallback |
BeforeEachCallback defines the API for Extensions
that wish to provide additional behavior to tests before each test is invoked. |
BeforeTestExecutionCallback |
BeforeTestExecutionCallback defines the API for Extensions that wish to provide additional behavior to tests immediately
before each test is executed. |
ContainerExecutionCondition |
ContainerExecutionCondition defines the Extension API for
programmatic, conditional container execution. |
ContainerExtensionContext |
ContainerExtensionContext encapsulates the context in which
the current container is being 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. |
ParameterContext |
ParameterContext encapsulates the context in which an
Executable will be invoked for a given
Parameter . |
ParameterResolver |
ParameterResolver defines the API for Extensions
that wish to dynamically resolve parameters at runtime. |
TestExecutionCondition |
TestExecutionCondition defines the Extension API for
programmatic, conditional test execution. |
TestExecutionExceptionHandler |
TestExecutionExceptionHandler defines the API for Extensions that wish to handle exceptions thrown during test execution. |
TestExtensionContext |
TestExtensionContext encapsulates the context in which
the current test is being executed. |
TestInstancePostProcessor |
TestInstancePostProcessor defines the API for Extensions that wish to post-process test instances. |
Class | Description |
---|---|
ConditionEvaluationResult |
The result of evaluating a
ContainerExecutionCondition or
TestExecutionCondition. |
ExtensionContext.Namespace |
A
Namespace is used to provide a scope for data saved by
extensions within a ExtensionContext.Store . |
Exception | Description |
---|---|
ExtensionConfigurationException |
Thrown if an error is encountered regarding the configuration of an
extension.
|
ExtensionContextException |
Thrown if an error is encountered regarding the use of an
ExtensionContext or ExtensionContext.Store . |
ParameterResolutionException |
Thrown if an error is encountered in the configuration or execution of a
ParameterResolver . |
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. |