Interface OutputDirectoryProvider


@API(status=EXPERIMENTAL, since="1.12") public 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 Type
    Method
    Description
    Create an output directory for the supplied test descriptor.
    Returns the root directory for all output files; never null.
  • Method Details

    • getRootDirectory

      Path getRootDirectory()
      Returns the root directory for all output files; never null.
      Returns:
      the root directory for all output files; never null
    • createOutputDirectory

      Path createOutputDirectory(TestDescriptor testDescriptor) throws IOException
      Create an output directory for the supplied test descriptor.
      Parameters:
      testDescriptor - the test descriptor for which to create an output directory; never null
      Returns:
      the output directory
      Throws:
      IOException - if the output directory could not be created