| 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.api.io |
IO-related support in JUnit Jupiter.
|
| 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 corresponding
ArgumentsSource
annotations. |
| Class and Description |
|---|
| ConditionEvaluationResult
The result of evaluating an
ExecutionCondition. |
ExecutionCondition
ExecutionCondition defines the Extension 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. |
| Class and Description |
|---|
AnnotatedElementContext
AnnotatedElementContext encapsulates the context in which an
AnnotatedElement is declared. |
| ConditionEvaluationResult
The result of evaluating an
ExecutionCondition. |
DynamicTestInvocationContext
DynamicTestInvocationContext represents the context of a
single invocation of a dynamic test. |
ExecutableInvoker
ExecutableInvoker allows invoking methods and constructors
with support for dynamic resolution of parameters via
ParameterResolvers. |
| Extension
Marker interface for all extensions.
|
ExtensionContext
ExtensionContext encapsulates the context in which the
current test or container is being executed. |
| ExtensionContext.Namespace
A
Namespace is used to provide a scope for data saved by
extensions within a ExtensionContext.Store. |
ExtensionContext.Store
Store provides methods for extensions to save and retrieve data. |
| InvocationInterceptor.Invocation
An invocation that returns a result and may throw a
Throwable. |
ParameterContext
ParameterContext encapsulates the context in which an
Executable will be invoked for a given
Parameter. |
| ParameterResolutionException
Thrown if an error is encountered in the configuration or execution of a
ParameterResolver. |
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 a
TestInstanceFactory. |
TestInstances
TestInstances encapsulates the test instances of a test. |
| TestInstantiationException
Thrown if an error is encountered during the execution of
a
TestInstanceFactory. |
TestTemplateInvocationContext
TestTemplateInvocationContext represents the context of a
single invocation of a test
template. |
| Class and 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 an
Executable will be invoked for a given
Parameter. |
| ParameterResolutionException
Thrown if an error is encountered in the configuration or execution of a
ParameterResolver. |
ParameterResolver
ParameterResolver defines the API for Extensions
that wish to dynamically resolve arguments for parameters
at runtime. |
| Class and Description |
|---|
AnnotatedElementContext
AnnotatedElementContext encapsulates the context in which an
AnnotatedElement is declared. |
ExtensionContext
ExtensionContext encapsulates the context in which the
current test or container is being executed. |
| Class and Description |
|---|
ExecutionCondition
ExecutionCondition defines the Extension API for
programmatic, conditional test execution. |
| Class and Description |
|---|
| ConditionEvaluationResult
The result of evaluating an
ExecutionCondition. |
DynamicTestInvocationContext
DynamicTestInvocationContext represents the context of a
single invocation of a dynamic test. |
ExecutableInvoker
ExecutableInvoker allows invoking methods and constructors
with support for dynamic resolution of parameters via
ParameterResolvers. |
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
A
Namespace is used to provide a scope for data saved by
extensions within a ExtensionContext.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 a
TestInstanceFactory. |
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 for
Extensions that wish to provide one or multiple contexts
for the invocation of a
@TestTemplate method. |
TestWatcher
TestWatcher defines the API for Extensions that
wish to process test results. |
| Class and Description |
|---|
AnnotatedElementContext
AnnotatedElementContext encapsulates the context in which an
AnnotatedElement is declared. |
| ConditionEvaluationResult
The result of evaluating an
ExecutionCondition. |
ExecutableInvoker
ExecutableInvoker allows invoking methods and constructors
with support for dynamic resolution of parameters via
ParameterResolvers. |
ExecutionCondition
ExecutionCondition defines the Extension 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
A
Namespace is used to provide a scope for data saved by
extensions within a ExtensionContext.Store. |
ExtensionContext.Store
Store provides methods for extensions to save and retrieve data. |
InvocationInterceptor
InvocationInterceptor defines the API for Extensions that wish to intercept calls to test code. |
| InvocationInterceptor.Invocation
An invocation that returns a result and may throw a
Throwable. |
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 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. |
| Class and Description |
|---|
AnnotatedElementContext
AnnotatedElementContext encapsulates the context in which an
AnnotatedElement is declared. |
BeforeAllCallback
BeforeAllCallback defines the API for Extensions
that wish to provide additional behavior to test containers once
before all tests in the container have been executed. |
BeforeEachCallback
BeforeEachCallback defines the API for Extensions
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 an
ExecutionCondition. |
ExecutionCondition
ExecutionCondition defines the Extension 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
A
Namespace is used to provide a scope for data saved by
extensions within a ExtensionContext.Store. |
ExtensionContext.Store
Store provides methods for extensions to save and retrieve data. |
| ExtensionContext.Store.CloseableResource
Classes implementing this interface indicate that they want to
ExtensionContext.Store.CloseableResource.close()
some underlying resource or resources when the enclosing Store
is closed. |
InvocationInterceptor
InvocationInterceptor defines the API for Extensions that wish to intercept calls to test code. |
| InvocationInterceptor.Invocation
An invocation that returns a result and may throw a
Throwable. |
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 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 for
Extensions that wish to provide one or multiple contexts
for the invocation of a
@TestTemplate method. |
TestWatcher
TestWatcher defines the API for Extensions that
wish to process test results. |
| Class and 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. |
| Class and Description |
|---|
| ConditionEvaluationResult
The result of evaluating an
ExecutionCondition. |
ExecutionCondition
ExecutionCondition defines the Extension 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. |
| Class and Description |
|---|
AfterEachCallback
AfterEachCallback defines the API for Extensions
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 for Extensions
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 for Extensions that wish to handle exceptions thrown during test execution. |
| Class and Description |
|---|
AfterTestExecutionCallback
AfterTestExecutionCallback defines the API for Extensions 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
A
Namespace is used to provide a scope for data saved by
extensions within a ExtensionContext.Store. |
ExtensionContext.Store
Store provides methods for extensions to save and retrieve data. |
| ExtensionContext.Store.CloseableResource
Classes implementing this interface indicate that they want to
ExtensionContext.Store.CloseableResource.close()
some underlying resource or resources when the enclosing Store
is closed. |
ParameterContext
ParameterContext encapsulates the context in which an
Executable will be invoked for a given
Parameter. |
| ParameterResolutionException
Thrown if an error is encountered in the configuration or execution of a
ParameterResolver. |
ParameterResolver
ParameterResolver defines the API for Extensions
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 for
Extensions that wish to provide one or multiple contexts
for the invocation of a
@TestTemplate method. |
| Class and Description |
|---|
ParameterContext
ParameterContext encapsulates the context in which an
Executable will be invoked for a given
Parameter. |
| Class and Description |
|---|
ParameterContext
ParameterContext encapsulates the context in which an
Executable will be invoked for a given
Parameter. |
| Class and Description |
|---|
ExtensionContext
ExtensionContext encapsulates the context in which the
current test or container is being executed. |