java.lang.Object
net.thucydides.model.reports.ThucydidesReporter
net.thucydides.core.reports.html.HtmlReporter
- Direct Known Subclasses:
HtmlAcceptanceTestReporter,HtmlAggregateStoryReporter
An HTML report generates reports in a given directory and uses resources (images,...) from another.
- Author:
- johnsmart
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ConsoleColorsprotected final EnvironmentVariablesprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddTimestamp(TestOutcome testOutcome, Map<String, Object> context) protected voidprotected voidprotected 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
-
colored
-
TIMESTAMP_FORMAT
- See Also:
-
READABLE_TIMESTAMP_FORMAT
- See Also:
-
-
Constructor Details
-
HtmlReporter
public HtmlReporter() -
HtmlReporter
-
-
Method Details
-
setResourceDirectory
Resources such as CSS stylesheets or images. -
getResourceDirectory
-
getEnvironmentVariables
-
copyResourcesToOutputDirectory
- Throws:
IOException
-
copyTestResultsToOutputDirectory
- Throws:
IOException
-
addTimestamp
-
mergeTemplate
-
verboseReporting
-