Class JSONTestOutcomeReporter

java.lang.Object
net.thucydides.core.reports.json.JSONTestOutcomeReporter
All Implemented Interfaces:
AcceptanceTestLoader, AcceptanceTestReporter

public class JSONTestOutcomeReporter
extends java.lang.Object
implements AcceptanceTestReporter, AcceptanceTestLoader
  • Constructor Summary

    Constructors
    Constructor Description
    JSONTestOutcomeReporter()  
  • Method Summary

    Modifier and Type Method Description
    java.io.File generateReportFor​(TestOutcome testOutcome)
    Generate reports for a given acceptance test run.
    java.util.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.
    java.lang.String getName()
    A name used to identify a given reporter.
    java.io.File getOutputDirectory()  
    java.util.Optional<TestOutcome> loadReportFrom​(java.io.File reportFile)  
    java.util.Optional<TestOutcome> loadReportFrom​(java.nio.file.Path reportFile)  
    java.util.List<TestOutcome> loadReportsFrom​(java.io.File outputDirectory)  
    java.util.List<TestOutcome> loadReportsFrom​(java.nio.file.Path outputDirectory)  
    void setOutputDirectory​(java.io.File outputDirectory)
    Define the output directory in which the reports will be written.
    void setQualifier​(java.lang.String qualifier)
    Optional.
    void setResourceDirectory​(java.lang.String resourceDirectoryPath)
    Define or override the directory where report resources are stored.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait