Package org.junit.jupiter.api.io
IO-related support in JUnit Jupiter.
-
Interface Summary Interface Description TempDirFactory TempDirFactory
defines the SPI for creating temporary directories programmatically. -
Class Summary Class Description TempDirFactory.Standard StandardTempDirFactory
implementation which delegates toFiles.createTempDirectory(java.nio.file.Path, java.lang.String, java.nio.file.attribute.FileAttribute<?>...)
using"junit"
as the prefix. -
Enum Summary Enum Description CleanupMode Enumeration of cleanup modes for@TempDir
. -
Annotation Types Summary Annotation Type Description TempDir @TempDir
can be used to annotate a field in a test class or a parameter in a lifecycle method or test method of typePath
orFile
that should be resolved into a temporary directory.