java.lang.Object
net.thucydides.model.reports.ThucydidesReporter
net.thucydides.core.reports.html.HtmlReporter
- Direct Known Subclasses:
HtmlAcceptanceTestReporter,HtmlAggregateStoryReporter
public abstract class HtmlReporter
extends net.thucydides.model.reports.ThucydidesReporter
An HTML report generates reports in a given directory and uses resources (images,...) from another.
- Author:
- johnsmart
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHtmlReporter(net.thucydides.model.util.EnvironmentVariables environmentVariables) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddTimestamp(net.thucydides.model.domain.TestOutcome testOutcome, Map<String, Object> context) protected voidprotected voidprotected net.thucydides.model.util.EnvironmentVariablesprotected MergermergeTemplate(String templateFile) voidsetResourceDirectory(String resourceDirectory) Resources such as CSS stylesheets or images.protected BooleanMethods inherited from class net.thucydides.model.reports.ThucydidesReporter
getOutputDirectory, getSourceDirectory, setOutputDirectory, setSourceDirectory
-
Field Details
-
environmentVariables
protected final net.thucydides.model.util.EnvironmentVariables environmentVariables -
colored
protected final net.thucydides.model.logging.ConsoleColors colored -
TIMESTAMP_FORMAT
- See Also:
-
READABLE_TIMESTAMP_FORMAT
- See Also:
-
-
Constructor Details
-
HtmlReporter
public HtmlReporter() -
HtmlReporter
public HtmlReporter(net.thucydides.model.util.EnvironmentVariables environmentVariables)
-
-
Method Details
-
setResourceDirectory
Resources such as CSS stylesheets or images. -
getResourceDirectory
-
getEnvironmentVariables
protected net.thucydides.model.util.EnvironmentVariables getEnvironmentVariables() -
copyResourcesToOutputDirectory
- Throws:
IOException
-
copyTestResultsToOutputDirectory
- Throws:
IOException
-
addTimestamp
-
mergeTemplate
-
verboseReporting
-