Package org.junit.jupiter.engine.extension
package org.junit.jupiter.engine.extension
Test extensions specific to the JUnit Jupiter test engine.
-
ClassDescription
AutoCloseExtensionis a JUnit Jupiter extension that closes resources if a field in a test class is annotated with@AutoClose.Default implementation ofRepetitionInfo.ExecutionConditionthat supports the@Disabledannotation.ExtensionContextInternalextends theExtensionContextwith internal API.AnExtensionRegistraris used to register extensions.AnExtensionRegistryholds all registered extensions (i.e.Default, mutable implementation ofExtensionRegistry.The default implementation forPreInterruptCallback, which will print the stacks of allThreads toSystem.out.Display name formatter for a@RepeatedTest.TestTemplateInvocationContextProviderthat supports the@RepeatedTestannotation.TestTemplateInvocationContextfor a@RepeatedTest.RepetitionExtensionimplements the following extension APIs to support repetitions of a@RepeatedTestmethod.TempDirectoryis 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.ParameterResolverthat resolves theTestInfofor the currently executing test.ParameterResolverthat injects aTestReporter.