Module org.junit.platform.engine
Interface OutputDirectoryProvider
Provider of output directories for test engines to write reports and other
output files to.
- Since:
- 1.12
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateOutputDirectory
(TestDescriptor testDescriptor) Create an output directory for the supplied test descriptor.Returns the root directory for all output files; nevernull
.
-
Method Details
-
getRootDirectory
Path getRootDirectory()Returns the root directory for all output files; nevernull
.- Returns:
- the root directory for all output files; never
null
-
createOutputDirectory
Create an output directory for the supplied test descriptor.- Parameters:
testDescriptor
- the test descriptor for which to create an output directory; nevernull
- Returns:
- the output directory
- Throws:
IOException
- if the output directory could not be created
-