@Target(value=PARAMETER)
@Retention(value=RUNTIME)
@Documented
public static @interface TempDirectory.TempDir
TempDir
can be used to annotate a test or lifecycle method or
test class constructor parameter of type Path
that should be
resolved into a temporary directory.
Since JUnit Jupiter 5.4, there's a
built-in @TempDir
extension. If you don't need support for
arbitrary file systems, you should consider using that instead of this
extension.
TempDirectory