All Classes and Interfaces
Class
Description
Abstract base class for wrappers for test descriptors based on annotated
elements.
Abstract base class for visitors that
order children nodes.
Functional interface for registering an
@AfterEach method
as a pseudo-extension.@AfterParameterizedClassInvocation is used to signal that the
annotated method should be executed before each
invocation of the current @ParameterizedClass.@AfterSuite is used to signal that the annotated method should be
executed after all tests in the current test suite.@AggregateWith is an annotation that allows one to specify an
ArgumentsAggregator.AnnotationBasedArgumentConverter is an abstract base class for
ArgumentConverter implementations that also need to consume an
annotation in order to perform the conversion.AnnotationBasedArgumentsProvider is an abstract base class for
ArgumentsProvider implementations that also need to consume an
annotation in order to provide the arguments.AnnotationConsumer is a functional
interface for consuming annotations.AnnotationConsumerInitializer is an internal helper class for
initializing AnnotationConsumers.ArgumentAccessException is an exception thrown by an
ArgumentsAccessor if an error occurs while accessing
or converting an argument.ArgumentConversionException is an exception that can occur when an
object is converted to another object by an implementation of an
ArgumentConverter.ArgumentConverter is an abstraction that allows an input object to
be converted to an instance of a different class.Enumeration of argument count validation modes for
@ParameterizedClass and
@ParameterizedTest.Arguments is an abstraction that provides access to an array of
objects to be used for invoking a @ParameterizedTest method.ArgumentsAccessor defines the public API for accessing arguments provided
by an ArgumentsProvider
for a single invocation of a
@ParameterizedTest method.ArgumentsAggregationException is an exception thrown by an
ArgumentsAggregator when an error occurs while aggregating
arguments.ArgumentsAggregator is an abstraction for the aggregation of arguments
provided by an ArgumentsProvider for a single invocation of a
@ParameterizedTest method
into a single object.An
ArgumentsProvider is responsible for
providing
a stream of arguments to be passed to a
@ParameterizedClass or
@ParameterizedTest.@ArgumentsSource is a repeatable annotation
that is used to register arguments providers
for the annotated class or method.@ArgumentsSources is a simple container for one or more
ArgumentsSource annotations.Collection of utilities for working with
Arguments.Assertions is a collection of selected assertion utility methods
from JUnit Jupiter for use within the JUnit Platform Test Kit.AutoCloseExtension is a JUnit Jupiter extension that closes resources
if a field in a test class is annotated with @AutoClose.Functional interface for registering a
@BeforeEach method
as a pseudo-extension.@BeforeParameterizedClassInvocation is used to signal that the
annotated method should be executed before each
invocation of the current @ParameterizedClass.@BeforeSuite is used to signal that the annotated method should be
executed before all tests in the current test suite.Caching implementation of the
JupiterConfiguration API.TestDescriptor for tests based on Java classes.TestDescriptor for tests based on Java classes.Internal facade to run a CLI command that exists to hide implementation
details such as the used library.
Thrown if an error is encountered while evaluating an
ExecutionCondition.ConditionEvaluator evaluates ExecutionCondition extensions.@ConfigurationParameter is a repeatable
annotation that specifies a configuration key and
value pair to be added to the discovery request when running
a test suite on the JUnit Platform.@ConfigurationParameters is a container for one or more
@ConfigurationParameter declarations.@ConfigurationParametersResource is a
repeatable annotation that specifies a configuration
file in Java's properties format on the classpath to be added to the
discovery request when running a test suite on the JUnit Platform.@ConfigurationParametersResources is a container for one or more
@ConfigurationParametersResource declarations.The
ConsoleLauncher is a stand-alone application for launching the
JUnit Platform from the console.Collection of utilities for working with
java.io.Console
and friends.Collection of constants related to the
JupiterTestEngine.Collection of constants related to the
VintageTestEngine.@ConvertWith is an annotation that allows one to specify an explicit
ArgumentConverter.@CsvFileSource is a repeatable
ArgumentsSource which is used to load comma-separated value (CSV)
files from one or more classpath CsvFileSource.resources() or CsvFileSource.files().@CsvFileSources is a simple container for one or more
CsvFileSource annotations.Thrown if an error is encountered while parsing CSV input.
@CsvSource is a repeatable
ArgumentsSource which reads comma-separated values (CSV) from one
or more CSV records supplied via the CsvSource.value() attribute or
CsvSource.textBlock() attribute.@CsvSources is a simple container for one or more
CsvSource annotations.Defines the strategy for closing custom class loaders created for test
discovery and execution.
Jupiter-specific selector for methods, potentially in nested classes.
DefaultArgumentConverter is the default implementation of the
ArgumentConverter API.Default implementation of the
ArgumentsAccessor API.Default implementation of
ClassDescriptor, backed by
a ClassBasedTestDescriptor.Default implementation of
ClassOrdererContext.Default implementation of the
DynamicTestInvocationContext API.Default implementation of the
JupiterConfiguration API.Default implementation of
MethodDescriptor, backed by
a MethodBasedTestDescriptor.Default implementation of
MethodOrdererContext.Default implementation of
RepetitionInfo.Default implementation of the
TestInstanceFactoryContext API.Customization of
AllDefaultPossibilitiesBuilder from JUnit 4 to
ignore certain classes that would otherwise be reported as errors or cause
infinite recursion.Customization of
AnnotatedBuilder that ignores classes annotated
with @RunWith(JUnitPlatform.class) to avoid infinite recursion.Customization of
JUnit4Builder that ignores classes that do not
contain any test methods in order not to report errors for them.Customization of
IgnoredBuilder that always returns null.ExecutionCondition that supports the @Disabled annotation.Disable parent configuration parameters.
DiscoverySelectorResolver resolves TestDescriptors
for containers and tests selected by DiscoverySelectors, with the help of an EngineDiscoveryRequestResolver.Collection of utilities for working with display names.
TestDescriptor for a DynamicContainer.Filter for dynamic descendants of
TestDescriptors that
implement Filterable.Base
TestDescriptor for a DynamicNode.TestDescriptor for a DynamicTest.@EmptySource is an ArgumentsSource which provides a single
empty argument to the annotated @ParameterizedClass
or @ParameterizedTest.EnableJUnit4MigrationSupport is a class-level annotation that
enables all JUnit 4 migration support within JUnit Jupiter.This class-level annotation enables native JUnit 4 rule support
within JUnit Jupiter.
EngineDiscoveryResults represents the results of test discovery
by a TestEngine on the JUnit
Platform and provides access to the TestDescriptor of the engine
and any DiscoveryIssues that were encountered.EngineExecutionResults provides a fluent API for processing the
results of executing a test plan on the JUnit Platform for a given
TestEngine.EngineTestKit provides support for discovering and executing tests
for a given TestEngine and provides convenient access to the results.TestEngine execution builder.Enumeration of modes for selecting enum constants by name.
@EnumSources is a simple container for one or more
EnumSource annotations.Encapsulates the evaluation of an
Arguments instance (so it happens
only once) and access to the resulting argument values.Event represents a single event fired during execution of
a test plan on the JUnit Platform.Collection of AssertJ conditions for
Event.Events is a facade that provides a fluent API for working with
events.EventStatistics provides a fluent API for asserting statistics
for events.Enumeration of the different possible
Event types.@ExcludeClassNamePatterns specifies regular expressions that are used
to match against fully qualified class names when running a test suite on the
JUnit Platform.@ExcludeEngines specifies the IDs of
TestEngines to be excluded
when running a test suite on the JUnit Platform.@ExcludePackages specifies the packages to be
excluded when running a test suite on the JUnit Platform.@ExcludeTags specifies the
tags or tag expressions to be excluded when running a
test suite on the JUnit Platform.Execution encapsulates metadata for the execution of a single
TestDescriptor.ExecutionRecorder is an EngineExecutionListener that records
data from every event that occurs during the engine execution lifecycle and
provides functionality for retrieving execution state via
EngineExecutionResults.Executions is a facade that provides a fluent API for working with
executions.This
Extension provides native support for the
ExpectedException rule from JUnit 4.ExtensionContextInternal extends the ExtensionContext with internal API.Container of two instances of
ExtensionContext to simplify the legacy for
#3445.An
ExtensionRegistrar is used to register extensions.An
ExtensionRegistry holds all registered extensions (i.e.Collection of utilities for working with extensions and the extension registry.
This
Extension provides native support for subclasses of
the ExternalResource rule from JUnit 4.FieldContext encapsulates the context in which an
@Parameter-annotated Field is declared in a
@ParameterizedClass.@FieldSource is a repeatable
ArgumentsSource which provides access to values of
fields of the class in which this annotation is declared
or from static fields in external classes referenced by fully qualified
field name.@FieldSources is a simple container for one or more
FieldSource annotations.Filterable is implemented by
TestDescriptors that may
register dynamic tests during execution and support selective test execution.Filterable IgnoringRunnerDecorator.ExecutionCondition that supports JUnit 4's @Ignore
annotation.Decorator for Runners that will be ignored completely.
@IncludeClassNamePatterns specifies regular expressions that are used
to match against fully qualified class names when running a test suite on the
JUnit Platform.@IncludeEngines specifies the IDs of
TestEngines to be included
when running a test suite on the JUnit Platform.@IncludePackages specifies the packages to be
included when running a test suite on the JUnit Platform.@IncludeTags specifies the
tags or tag expressions to be included when running a
test suite on the JUnit Platform.InterceptingExecutableInvoker encapsulates the invocation of a
Executable (i.e., method or constructor),
including support for dynamic resolution of method parameters via
ParameterResolvers.Test if a method is a JUnit Jupiter
@TestFactory method.Test if a method is a JUnit Jupiter
@Test method.Test if a method is a JUnit Jupiter
@TestTemplate method.@JavaTimeConversionPattern is an annotation that allows a date/time
conversion pattern to be specified on a parameter of a
@ParameterizedClass
or
@ParameterizedTest.Deprecated.
The JUnit Jupiter
TestEngine.Factory for creating
ThrowableCollectors within
the JUnit Jupiter test engine.Collection of utilities for working with test lifecycle methods.
Collection of utilities for working with test lifecycle methods.
Base class for
TestDescriptors based on Java methods.@MethodSource is a repeatable
ArgumentsSource which provides access to values returned from
factory methods of the class in which this annotation
is declared or from static factory methods in external classes referenced
by fully qualified method name.@MethodSources is a simple container for one or more
MethodSource annotations.Jupiter internal support for creating
MethodSource from URI.Default, mutable implementation of
ExtensionRegistry.TestDescriptor for tests based on nested (but not static) Java classes.@NullAndEmptySource is a composed annotation that combines
the functionality of @NullSource and
@EmptySource.Dummy enum class used as default value for optional attributes of
annotations.
@NullSource is an ArgumentsSource which provides a single
null argument to the annotated @ParameterizedClass or
@ParameterizedTest.Specialization of
ThrowableCollector that treats instances of the
OTA's TestAbortedException and JUnit 4's
org.junit.AssumptionViolatedException as aborting.@Parameter is used to signal that a field in a
@ParameterizedClass constitutes a parameter and marks it for
field injection.ParameterDeclaration encapsulates the declaration of an
indexed @ParameterizedClass or @ParameterizedTest parameter.ParameterDeclarations encapsulates the combined declarations
of all indexed @ParameterizedClass or
@ParameterizedTest parameters.ParameterInfo is used to provide information about the current
invocation of a parameterized class or test.Deprecated.
Please use
ParameterInfo instead@ParameterizedClass is used to signal that the annotated class is
a parameterized test class.Constants for the use with the
@ParameterizedClass and
@ParameterizedTest annotations.@ParameterizedTest is used to signal that the annotated method is a
parameterized test method.Encapsulates access to the parameters of a parameterized test method and
caches the converters and aggregators used to resolve them.
ParameterResolutionUtils provides support for dynamic resolution
of executable parameters via ParameterResolvers.The default implementation for
PreInterruptCallback,
which will print the stacks of all Threads to System.out.Display name formatter for a
@RepeatedTest.TestTemplateInvocationContextProvider that supports the
@RepeatedTest annotation.TestTemplateInvocationContext for a @RepeatedTest.RepetitionExtension implements the following extension APIs to support
repetitions of a @RepeatedTest method.@Select is a repeatable annotation that
specifies which tests to select based on prefixed
selector identifiers.@SelectClasses specifies the classes to select when running
a test suite on the JUnit Platform.@SelectClasspathResource is a repeatable
annotation that specifies a classpath resource to select when running
a test suite on the JUnit Platform.@SelectClasspathResources is a container for one or more
@SelectClasspathResource declarations.@SelectDirectories specifies the directories to select when
running a test suite on the JUnit Platform.@SelectFile is a repeatable annotation that
specifies a file to select when running a test suite on the JUnit
Platform.@SelectFiles is a container for one or more
@SelectFile declarations.@SelectMethod is a repeatable annotation that
specifies a method to select when running a test suite on the JUnit
Platform.@SelectMethods is a container for one or more
@SelectMethod declarations.@SelectModules specifies the modules to select when running
a test suite on the JUnit Platform.@SelectPackages specifies the names of packages to select
when running a test suite on the JUnit Platform.@Selects is a container for one or more
@Select declarations.@SelectUris specifies the URIs to select when running a test
suite on the JUnit Platform.SimpleArgumentConverter is an abstract base class for
ArgumentConverter implementations that only need to know the target
type and do not need access to the ParameterContext to perform the
conversion.SimpleArgumentsAggregator is an abstract base class for
ArgumentsAggregator implementations that do not need to distinguish
between fields and method/constructor parameters.@Suite marks a class as a test suite on the JUnit Platform.@SuiteDisplayName is used to declare a custom
display name for the annotated test class that is executed as a test suite
on the JUnit Platform.The
SuiteLauncherDiscoveryRequestBuilder provides a light-weight DSL
for generating a LauncherDiscoveryRequest specifically tailored for
suite execution.TestDescriptor for tests based on the JUnit Platform Suite API.The JUnit Platform Suite
TestEngine.TempDirectory is a JUnit Jupiter extension that creates and cleans
up temporary directories if a field in a test class or a parameter in a
test class constructor, lifecycle method, or test method is annotated with
@TempDir.TerminationInfo is a union type that allows propagation of terminated
container/test state, supporting either the reason if the container/test
was skipped or the TestExecutionResult if the container/test was executed.Predicates for determining whether a class is a JUnit Jupiter test class.
Collection of AssertJ conditions for
TestExecutionResult.TestDescriptor for
@TestFactory methods.ParameterResolver that resolves the TestInfo for
the currently executing test.Collection of utilities for retrieving the test instance lifecycle mode.
TestDescriptor for @Test methods.ParameterResolver that injects a TestReporter.TestDescriptor for a @TestTemplate
invocation.TestDescriptor for @TestTemplate
methods.TypedArgumentConverter is an abstract base class for
ArgumentConverter implementations that always convert objects of a
given source type into a given target type.Deprecated.
since 1.8, in favor of the
@Suite support provided by
the junit-platform-suite-engine module; to be removed in JUnit Platform 2.0Interface for descriptors that can be validated during discovery.
@ValueSources is a simple container for one or more
ValueSource annotations.This
Extension provides native support for subclasses of
the Verifier rule from JUnit 4.The JUnit Vintage
TestEngine.
@Suitesupport provided by thejunit-platform-suite-enginemodule; to be removed in JUnit Platform 2.0