Package net.thucydides.core.reports.html
Class BaseReportingTask
java.lang.Object
net.thucydides.core.reports.html.BaseReportingTask
- All Implemented Interfaces:
ReportingTask
- Direct Known Subclasses:
AggregateReportingTask,DurationReportingTask,ErrorTypeReportingTask,ResultReportingTask,TagReportingTask,TextSummaryReportTask
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBaseReportingTask(FreemarkerContext freemarker, EnvironmentVariables environmentVariables, File outputDirectory) -
Method Summary
Modifier and TypeMethodDescriptiongenerateCSVReportFor(TestOutcomes testOutcomes, String reportName) protected voidabstract voidprotected MergermergeTemplate(String templateFile) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.thucydides.core.reports.html.ReportingTask
reportName
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
BaseReportingTask
public BaseReportingTask(FreemarkerContext freemarker, EnvironmentVariables environmentVariables, File outputDirectory)
-
-
Method Details
-
generateReports
- Specified by:
generateReportsin interfaceReportingTask- Throws:
IOException
-
generateReportPage
protected void generateReportPage(Map<String, Object> context, String template, String outputFile) throws IOException- Throws:
IOException
-
mergeTemplate
-
generateCSVReportFor
protected Optional<String> generateCSVReportFor(TestOutcomes testOutcomes, String reportName) throws IOException - Throws:
IOException
-