Package net.thucydides.core.reports
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 TypeMethodDescriptiongenerateReportFor(TestOutcome testOutcome) 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.getName()A name used to identify a given reporter.voidsetOutputDirectory(File outputDirectory) Define the output directory in which the reports will be written.voidsetQualifier(String qualifier) Optional.voidsetResourceDirectory(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
Generate reports for a given acceptance test run.- Throws:
IOException
-
setOutputDirectory
Define the output directory in which the reports will be written. -
setResourceDirectory
Define or override the directory where report resources are stored. This can be on the file system or on the classpath -
setQualifier
Optional. Used to distinguish the report generated from other similar reports.
-