Interface AcceptanceTestReporter

All Known Implementing Classes:
JSONTestOutcomeReporter, XMLTestOutcomeReporter

public interface AcceptanceTestReporter
Generates a report based on a set of acceptance test results.
Author:
johnsmart
  • Method Summary

    Modifier and Type
    Method
    Description
    Generate reports for a given acceptance test run.
    Return the format that this reporter generates, if it is a format that can be activated or deactivated via the output.formats configuration property.
    A name used to identify a given reporter.
    void
    setOutputDirectory(File outputDirectory)
    Define the output directory in which the reports will be written.
    void
    setQualifier(String qualifier)
    Optional.
    void
    setResourceDirectory(String resourceDirectoryPath)
    Define or override the directory where report resources are stored.
  • Method Details

    • getName

      String getName()
      A name used to identify a given reporter.
    • getFormat

      Optional<OutcomeFormat> getFormat()
      Return the format that this reporter generates, if it is a format that can be activated or deactivated via the output.formats configuration property.
    • generateReportFor

      File generateReportFor(TestOutcome testOutcome) throws IOException
      Generate reports for a given acceptance test run.
      Throws:
      IOException
    • setOutputDirectory

      void setOutputDirectory(File outputDirectory)
      Define the output directory in which the reports will be written.
    • setResourceDirectory

      void setResourceDirectory(String resourceDirectoryPath)
      Define or override the directory where report resources are stored. This can be on the file system or on the classpath
    • setQualifier

      void setQualifier(String qualifier)
      Optional. Used to distinguish the report generated from other similar reports.