public abstract class HtmlReporter extends ThucydidesReporter
| Modifier and Type | Field and Description |
|---|---|
protected ConsoleColors |
colored |
protected EnvironmentVariables |
environmentVariables |
protected static String |
READABLE_TIMESTAMP_FORMAT |
protected static String |
TIMESTAMP_FORMAT |
| Constructor and Description |
|---|
HtmlReporter() |
HtmlReporter(EnvironmentVariables environmentVariables) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTimestamp(TestOutcome testOutcome,
Map<String,Object> context) |
protected void |
copyResourcesToOutputDirectory() |
protected void |
copyTestResultsToOutputDirectory() |
protected EnvironmentVariables |
getEnvironmentVariables() |
String |
getResourceDirectory() |
protected Merger |
mergeTemplate(String templateFile) |
void |
setResourceDirectory(String resourceDirectory)
Resources such as CSS stylesheets or images.
|
protected Boolean |
verboseReporting() |
getOutputDirectory, getSourceDirectory, setOutputDirectory, setSourceDirectoryprotected final EnvironmentVariables environmentVariables
protected final ConsoleColors colored
protected static final String TIMESTAMP_FORMAT
protected static final String READABLE_TIMESTAMP_FORMAT
public HtmlReporter()
public HtmlReporter(EnvironmentVariables environmentVariables)
public void setResourceDirectory(String resourceDirectory)
public String getResourceDirectory()
protected EnvironmentVariables getEnvironmentVariables()
protected void copyResourcesToOutputDirectory()
throws IOException
IOExceptionprotected void copyTestResultsToOutputDirectory()
throws IOException
IOExceptionprotected void addTimestamp(TestOutcome testOutcome, Map<String,Object> context)
protected Boolean verboseReporting()
Copyright © 2023. All rights reserved.