TempDirFactory defines the SPI for creating temporary directories programmatically.
TempDirFactory
@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.
@TempDir
Path
File
Enumeration of cleanup modes for @TempDir.