Top Description Interfaces Annotations Enums
module org.junit.jupiter.api

Package org.junit.jupiter.api.io

Annotations
@NullMarked
Imports
org.jspecify.annotations.NullMarked

IO-related support in JUnit Jupiter.

Interface Summary

Modifier and TypeInterface and Description
public interface
TempDirFactory

TempDirFactory defines the SPI for creating temporary directories programmatically.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
TempDir

@TempDir can be used to annotate a field in a test class or a parameter in a test class constructor, lifecycle method, or test method of type Path or File that should be resolved into a temporary directory.

Enum Summary

Modifier and TypeEnum and Description
public enum
CleanupMode

Enumeration of cleanup modes for @TempDir.