Package org.citrusframework.report
Class AbstractTestReporter
java.lang.Object
org.citrusframework.report.AbstractTestReporter
- All Implemented Interfaces:
TestReporter
- Direct Known Subclasses:
AbstractOutputFileReporter,JUnitReporter,LoggingReporter
- Since:
- 2.7.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidgenerate(TestResults testResults) Subclasses must implement this method and generate the test report for given test results.final voidgenerateReport(TestResults testResults) Gets the reportDirectory.booleanObtains the ignoreErrors.voidsetIgnoreErrors(boolean ignoreErrors) Specifies the ignoreErrors.voidsetReportDirectory(String reportDirectory) Sets the reportDirectory.
-
Constructor Details
-
AbstractTestReporter
public AbstractTestReporter()
-
-
Method Details
-
generateReport
- Specified by:
generateReportin interfaceTestReporter
-
generate
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-
-