Package org.junit.jupiter.engine.extension
Test extensions specific to the JUnit Jupiter test engine.
-
Interface Summary Interface Description ExtensionRegistrar AnExtensionRegistraris used to register extensions.ExtensionRegistry AnExtensionRegistryholds all registered extensions (i.e.TempDirectory.FileOperations TimeoutExtension.TimeoutProvider -
Class Summary Class Description DefaultRepetitionInfo Default implementation ofRepetitionInfo.DisabledCondition ExecutionConditionthat supports the@Disabledannotation.MutableExtensionRegistry Default, mutable implementation ofExtensionRegistry.RepeatedTestDisplayNameFormatter Display name formatter for a@RepeatedTest.RepeatedTestExtension TestTemplateInvocationContextProviderthat supports the@RepeatedTestannotation.RepeatedTestInvocationContext TestTemplateInvocationContextfor a@RepeatedTest.RepetitionExtension RepetitionExtensionimplements the following extension APIs to support repetitions of a@RepeatedTestmethod.SameThreadTimeoutInvocation<T> SameThreadTimeoutInvocation.InterruptTask SeparateThreadTimeoutInvocation<T> TempDirectory TempDirectoryis 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 ParameterResolverthat resolves theTestInfofor the currently executing test.TestInfoParameterResolver.DefaultTestInfo TestReporterParameterResolver ParameterResolverthat injects aTestReporter.TimeoutConfiguration TimeoutDuration TimeoutDurationParser TimeoutExceptionFactory TimeoutExtension TimeoutInvocationFactory TimeoutInvocationFactory.ExecutorResource TimeoutInvocationFactory.SingleThreadExecutorResource TimeoutInvocationFactory.TimeoutInvocationParameters<T> -
Enum Summary Enum Description TempDirectory.Scope