Package org.junit.jupiter.api.support.io
Annotation Type TempDirectory.TempDir
-
@Target({FIELD,PARAMETER}) @Retention(RUNTIME) @Documented public static @interface 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.- See Also:
TempDirectory