Package org.citrusframework.report
Class AbstractTestReporter
java.lang.Object
org.citrusframework.report.AbstractTestReporter
- All Implemented Interfaces:
org.citrusframework.report.TestReporter
- Direct Known Subclasses:
AbstractOutputFileReporter,JUnitReporter,LoggingReporter,TestFlowReporter
public abstract class AbstractTestReporter
extends Object
implements org.citrusframework.report.TestReporter
- Since:
- 2.7.4
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidgenerate(org.citrusframework.report.TestResults testResults) Subclasses must implement this method and generate the test report for given test results.final voidgenerateReport(org.citrusframework.report.TestResults testResults) Gets the reportDirectory.booleanObtains the ignoreErrors.voidsetIgnoreErrors(boolean ignoreErrors) Specifies the ignoreErrors.voidsetReportDirectory(String reportDirectory) Sets the reportDirectory.
-
Field Details
-
logger
protected final org.slf4j.Logger loggerLogger
-
-
Constructor Details
-
AbstractTestReporter
public AbstractTestReporter()
-
-
Method Details
-
generateReport
public final void generateReport(org.citrusframework.report.TestResults testResults) - Specified by:
generateReportin interfaceorg.citrusframework.report.TestReporter
-
generate
protected abstract void generate(org.citrusframework.report.TestResults testResults) Subclasses must implement this method and generate the test report for given test results.- Parameters:
testResults-
-
getReportDirectory
Gets the reportDirectory.- Returns:
-
setReportDirectory
Sets the reportDirectory.- Parameters:
reportDirectory-
-
isIgnoreErrors
public boolean isIgnoreErrors()Obtains the ignoreErrors.- Returns:
-
setIgnoreErrors
public void setIgnoreErrors(boolean ignoreErrors) Specifies the ignoreErrors.- Parameters:
ignoreErrors-
-