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