@ByteRangeSource
is an ArgumentsSource
that provides access to a range of byte
values.@ClearEnvironmentVariable
is a JUnit Jupiter extension to clear the value
of a environment variable for a test execution.@ClearEnvironmentVariable
.@ClearSystemProperty
is a JUnit Jupiter extension to clear the value
of a system property for a test execution.@ClearSystemProperty
.TempDirectory
extension that uses the supplied
TempDirectoryExtension.ParentDirProvider
to configure the parent directory for the
temporary directories created by this extension.TempDirectory
extension that uses the supplied
Callable
to configure the parent directory for the temporary
directories created by this extension.TempDirectory
extension that uses the default
FileSystem
and creates temporary
directories in the default location.@DefaultLocale
is a JUnit Jupiter extension to change the value
returned by Locale.getDefault()
for a test execution.@DefaultTimeZone
is a JUnit Jupiter extension to change the value
returned by TimeZone.getDefault()
for a test execution.@DisableIfDisplayName
is a JUnit Jupiter extension that can be used to
selectively disable ParameterizedTest
based on their
display name
.@DoubleRangeSource
is an ArgumentsSource
that provides access to a range of double
values.@FloatRangeSource
is an ArgumentsSource
that provides access to a range of float
values.TempDirectoryExtension
extension this is used with.@IntRangeSource
is an ArgumentsSource
that provides access to a range of int
values.@LongRangeSource
is an ArgumentsSource
that provides access to a range of long
values.Range
an annotation supplies the range for.org.junit.platform.engine.EngineExecutionListener
in order to supply additional information to the reporting
infrastructure.ReportEntry
.@RetryingTest
is a JUnit Jupiter extension that retries
a failing test a certain number of times before the test actually
shows up as failing.@SetEnvironmentVariable
is a JUnit Jupiter extension to set the value of a
environment variable for a test execution.@SetEnvironmentVariable
.@SetSystemProperty
is a JUnit Jupiter extension to set the value of a
system property for a test execution.@SetSystemProperty
.@ShortRangeSource
is an ArgumentsSource
that provides access to a range of short
values.extension
will read instead of reading the
standard input (System.in
).Standard input/output
Standard input/output
Standard input/output
TempDir
can be used to annotate a test or lifecycle method or
test class constructor parameter of type Path
that should be
resolved into a temporary directory.TempDirectory
is a JUnit Jupiter extension to create and clean up a
temporary directory.TempDirectory
extension that uses the default
FileSystem
and creates temporary
directories in the default location.ParentDirProvider
can be used to configure a custom parent
directory for all temporary directories created by the
TempDirectoryExtension
extension this is used with.@Test
to Jupiter's.
To emphasize its character as a temporary solution and to reduce risk of accidental use, it's marked as deprecated.
Deprecated since v0.4; not intended to be removed.