All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary
Class |
Description |
AfterAll |
@AfterAll is used to signal that the annotated method should be
executed after all tests in the current test class.
|
AfterAllCallback |
AfterAllCallback defines the API for Extensions
that wish to provide additional behavior to test containers after all tests
have been invoked.
|
AfterEach |
@AfterEach is used to signal that the annotated method should be
executed after each @Test ,
@RepeatedTest , @ParameterizedTest , @TestFactory ,
and @TestTemplate method in the current test class.
|
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.
|
Assertions |
Assertions is a collection of utility methods that support asserting
conditions in tests.
|
Assumptions |
Assumptions is a collection of utility methods that support
conditional test execution based on assumptions.
|
BeforeAll |
@BeforeAll is used to signal that the annotated method should be
executed before all tests in the current test class.
|
BeforeAllCallback |
BeforeAllCallback defines the API for Extensions
that wish to provide additional behavior to test containers before all tests
are invoked.
|
BeforeEach |
@BeforeEach is used to signal that the annotated method should be
executed before each @Test ,
@RepeatedTest , @ParameterizedTest , @TestFactory ,
and @TestTemplate method in the current test class.
|
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.
|
ConditionEvaluationResult |
|
Disabled |
@Disabled is used to signal that the annotated test class or
test method is currently disabled and should not be executed.
|
DisabledIf |
@DisabledIf is used to determine whether the annotated test class or
test method is disabled by evaluating a script.
|
DisabledIfEnvironmentVariable |
@DisabledIfEnvironmentVariable is used to signal that the annotated test
class or test method is disabled if the value of the specified
environment variable matches the specified
regular expression.
|
DisabledIfSystemProperty |
@DisabledIfSystemProperty is used to signal that the annotated test
class or test method is disabled if the value of the specified
system property matches the specified
regular expression.
|
DisabledOnJre |
@DisabledOnJre is used to signal that the annotated test class or
test method is disabled on one or more specified Java
Runtime Environment (JRE) versions.
|
DisabledOnOs |
@DisabledOnOs is used to signal that the annotated test class or
test method is disabled on one or more specified
operating systems.
|
DisplayName |
@DisplayName is used to declare a custom display
name for the annotated test class or test method.
|
DisplayNameGeneration |
@DisplayNameGeneration is used to declare a custom display name
generator for the annotated test class.
|
DisplayNameGenerator |
DisplayNameGenerator defines the SPI for generating display
names programmatically.
|
DisplayNameGenerator.ReplaceUnderscores |
Replace all underscore characters with spaces.
|
DisplayNameGenerator.Standard |
Standard display name generator.
|
DynamicContainer |
A DynamicContainer is a container generated at runtime.
|
DynamicNode |
DynamicNode serves as the abstract base class for a container or a
test case generated at runtime.
|
DynamicTest |
A DynamicTest is a test case generated at runtime.
|
EnabledIf |
@EnabledIf is used to determine whether the annotated test class or
test method is enabled by evaluating a script.
|
EnabledIfEnvironmentVariable |
@EnabledIfEnvironmentVariable is used to signal that the annotated test
class or test method is only enabled if the value of the specified
environment variable matches the specified
regular expression.
|
EnabledIfSystemProperty |
@EnabledIfSystemProperty is used to signal that the annotated test
class or test method is only enabled if the value of the specified
system property matches the specified
regular expression.
|
EnabledOnJre |
@EnabledOnJre is used to signal that the annotated test class or
test method is only enabled on one or more specified Java
Runtime Environment (JRE) versions.
|
EnabledOnOs |
@EnabledOnOs is used to signal that the annotated test class or
test method is only enabled on one or more specified
operating systems.
|
Executable |
Executable is a functional interface that can be used to
implement any generic block of code that potentially throws a
Throwable .
|
Execution |
@Execution is used to configure the parallel execution
mode of a test class or test method.
|
ExecutionCondition |
ExecutionCondition defines the Extension API for
programmatic, conditional test execution.
|
ExecutionMode |
Supported execution modes for parallel test execution.
|
ExtendWith |
@ExtendWith is a repeatable annotation
that is used to register extensions for the
annotated test class or test method.
|
Extension |
Marker interface for all extensions.
|
ExtensionConfigurationException |
Thrown if an error is encountered regarding the configuration of an
extension.
|
ExtensionContext |
ExtensionContext encapsulates the context in which the
current test or container is being executed.
|
ExtensionContext.Namespace |
|
ExtensionContext.Store |
Store provides methods for extensions to save and retrieve data.
|
ExtensionContext.Store.CloseableResource |
|
ExtensionContextException |
|
Extensions |
@Extensions is a container for one or more @ExtendWith
declarations.
|
JRE |
Enumeration of Java Runtime Environment (JRE) versions.
|
MethodDescriptor |
|
MethodOrderer |
MethodOrderer defines the API for ordering the test methods
in a given test class.
|
MethodOrderer.Alphanumeric |
MethodOrderer that sorts methods alphanumerically based on their
names using String.compareTo(String) .
|
MethodOrderer.OrderAnnotation |
MethodOrderer that sorts methods based on the @Order
annotation.
|
MethodOrderer.Random |
MethodOrderer that orders methods pseudo-randomly and allows for
concurrent execution by default.
|
MethodOrdererContext |
MethodOrdererContext encapsulates the context in which
a MethodOrderer will be invoked.
|
Nested |
@Nested is used to signal that the annotated class is a nested,
non-static test class (i.e., an inner class) that can share
setup and state with an instance of its enclosing class.
|
Order |
@Order is an annotation that is used to configure the
order in which the annotated element (i.e., field or
method) should be evaluated or executed relative to other elements of the
same category.
|
OS |
Enumeration of common operating systems used for testing Java applications.
|
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.
|
RegisterExtension |
@RegisterExtension is used to register an Extension via a
field in a test class.
|
RepeatedTest |
|
RepetitionInfo |
RepetitionInfo is used to inject information about the current
repetition of a repeated test into @RepeatedTest , @BeforeEach ,
and @AfterEach methods.
|
ResourceAccessMode |
The access mode required by a test class or method for a given resource.
|
ResourceLock |
@ResourceLock is used to declare that the annotated test class or test
method requires access to a shared resource identified by a key.
|
ResourceLocks |
@ResourceLocks is a container for one or more
@ResourceLock declarations.
|
Resources |
Common resource names for synchronizing test execution.
|
ScriptEvaluationException |
|
Tag |
@Tag is a repeatable annotation that is
used to declare a tag for the annotated test class or test method.
|
Tags |
@Tags is a container for one or more @Tag declarations.
|
TempDir |
@TempDir can be used to annotate a field in a test class or a
parameter in a lifecycle method or test method of type Path or
File that should be resolved into a temporary directory.
|
Test |
@Test is used to signal that the annotated method is a
test method.
|
TestExecutionExceptionHandler |
TestExecutionExceptionHandler defines the API for Extensions that wish to handle exceptions thrown during test execution.
|
TestFactory |
@TestFactory is used to signal that the annotated method is a
test factory method.
|
TestInfo |
TestInfo is used to inject information about the current test or
container into to @Test , @RepeatedTest ,
@ParameterizedTest , @TestFactory , @BeforeEach ,
@AfterEach , @BeforeAll , and @AfterAll methods.
|
TestInstance |
@TestInstance is a type-level annotation that is used to configure
the lifecycle of test instances for the annotated
test class or test interface.
|
TestInstance.Lifecycle |
Enumeration of test instance lifecycle modes.
|
TestInstanceFactory |
TestInstanceFactory defines the API for Extensions that wish to create test instances.
|
TestInstanceFactoryContext |
|
TestInstancePostProcessor |
TestInstancePostProcessor defines the API for Extensions that wish to post-process test instances.
|
TestInstances |
TestInstances encapsulates the test instances of a test.
|
TestInstantiationException |
|
TestMethodOrder |
@TestMethodOrder is a type-level annotation that is used to configure
a MethodOrderer for the test methods of the annotated
test class or test interface.
|
TestReporter |
|
TestTemplate |
@TestTemplate is used to signal that the annotated method is a
test template method.
|
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.
|
ThrowingConsumer<T> |
ThrowingConsumer is a functional interface that can be used to
implement any generic block of code that consumes an argument and
potentially throws a Throwable .
|
ThrowingSupplier<T> |
ThrowingSupplier is a functional interface that can be used to
implement any generic block of code that returns an object and
potentially throws a Throwable .
|