Package org.junit.jupiter.engine.extension
Test extensions specific to the JUnit Jupiter test engine.
-
Interface Summary Interface Description ExtensionRegistrar AnExtensionRegistrar
is used to register extensions.ExtensionRegistry AnExtensionRegistry
holds all registered extensions (i.e.TempDirectory.FileOperations TimeoutExtension.TimeoutProvider -
Class Summary Class Description DefaultRepetitionInfo Default implementation ofRepetitionInfo
.DisabledCondition ExecutionCondition
that supports the@Disabled
annotation.MutableExtensionRegistry Default, mutable implementation ofExtensionRegistry
.RepeatedTestDisplayNameFormatter Display name formatter for a@RepeatedTest
.RepeatedTestExtension TestTemplateInvocationContextProvider
that supports the@RepeatedTest
annotation.RepeatedTestInvocationContext TestTemplateInvocationContext
for a@RepeatedTest
.RepetitionExtension RepetitionExtension
implements the following extension APIs to support repetitions of a@RepeatedTest
method.SameThreadTimeoutInvocation<T> SameThreadTimeoutInvocation.InterruptTask SeparateThreadTimeoutInvocation<T> TempDirectory TempDirectory
is a JUnit Jupiter extension that creates and cleans up temporary directories if field in a test class or a parameter in a lifecycle method or test method is annotated with@TempDir
.TempDirectory.CloseablePath TempDirectory.FieldContext TestInfoParameterResolver ParameterResolver
that resolves theTestInfo
for the currently executing test.TestInfoParameterResolver.DefaultTestInfo TestReporterParameterResolver ParameterResolver
that injects aTestReporter
.TimeoutConfiguration TimeoutDuration TimeoutDurationParser TimeoutExceptionFactory TimeoutExtension TimeoutInvocationFactory TimeoutInvocationFactory.ExecutorResource TimeoutInvocationFactory.SingleThreadExecutorResource TimeoutInvocationFactory.TimeoutInvocationParameters<T> -
Enum Summary Enum Description TempDirectory.Scope