Package org.junit.jupiter.api.support.io
IO-related support classes and built-in extensions.
-
Interface Summary Interface Description TempDirectory.ParentDirProvider ParentDirProvider
can be used to configure a custom parent directory for all temporary directories created by theTempDirectory
extension this is used with.TempDirectory.TempDirContext TempDirContext
encapsulates the context in which@TempDir
is declared. -
Class Summary Class Description TempDirectory TempDirectory
is a JUnit Jupiter extension that creates and cleans up temporary directories. -
Annotation Types Summary Annotation Type Description TempDirectory.TempDir @TempDir
can be used to annotate a field in a test class or a parameter in a test method, lifecycle method, or test class constructor of typePath
orFile
that should be resolved into a temporary directory.