java.lang.Object
net.thucydides.model.reports.ThucydidesReporter
net.thucydides.core.reports.html.HtmlReporter
Direct Known Subclasses:
HtmlAcceptanceTestReporter, HtmlAggregateStoryReporter

public abstract class HtmlReporter extends ThucydidesReporter
An HTML report generates reports in a given directory and uses resources (images,...) from another.
Author:
johnsmart
  • Field Details

  • Constructor Details

    • HtmlReporter

      public HtmlReporter()
    • HtmlReporter

      public HtmlReporter(EnvironmentVariables environmentVariables)
  • Method Details

    • setResourceDirectory

      public void setResourceDirectory(String resourceDirectory)
      Resources such as CSS stylesheets or images.
    • getResourceDirectory

      public String getResourceDirectory()
    • getEnvironmentVariables

      protected EnvironmentVariables getEnvironmentVariables()
    • copyResourcesToOutputDirectory

      protected void copyResourcesToOutputDirectory() throws IOException
      Throws:
      IOException
    • copyTestResultsToOutputDirectory

      protected void copyTestResultsToOutputDirectory() throws IOException
      Throws:
      IOException
    • addTimestamp

      protected void addTimestamp(TestOutcome testOutcome, Map<String,Object> context)
    • mergeTemplate

      protected Merger mergeTemplate(String templateFile)
    • verboseReporting

      protected Boolean verboseReporting()