Package org.citrusframework.report
Class JUnitReporter
java.lang.Object
org.citrusframework.report.AbstractTestReporter
org.citrusframework.report.JUnitReporter
- All Implemented Interfaces:
TestReporter
- Since:
- 2.7.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(TestResults testResults) Subclasses must implement this method and generate the test report for given test results.Gets the failedTemplate.Gets the outputDirectory.Gets the reportFileNamePattern.Gets the reportTemplate.Gets the successTemplate.Gets the suiteName.booleanGets the enabled.voidsetEnabled(boolean enabled) Sets the enabled.voidsetFailedTemplate(String failedTemplate) Sets the failedTemplate.voidsetOutputDirectory(String outputDirectory) Sets the outputDirectory.voidsetReportFileNamePattern(String reportFileNamePattern) Sets the reportFileNamePattern.voidsetReportTemplate(String reportTemplate) Sets the reportTemplate.voidsetSuccessTemplate(String successTemplate) Sets the successTemplate.voidsetSuiteName(String suiteName) Sets the suiteName.Methods inherited from class org.citrusframework.report.AbstractTestReporter
generateReport, getReportDirectory, isIgnoreErrors, setIgnoreErrors, setReportDirectory
-
Constructor Details
-
JUnitReporter
public JUnitReporter()
-
-
Method Details
-
generate
Description copied from class:AbstractTestReporterSubclasses must implement this method and generate the test report for given test results.- Specified by:
generatein classAbstractTestReporter
-
getOutputDirectory
Gets the outputDirectory. -
setOutputDirectory
Sets the outputDirectory. -
getReportFileNamePattern
Gets the reportFileNamePattern. -
setReportFileNamePattern
Sets the reportFileNamePattern. -
getReportTemplate
Gets the reportTemplate. -
setReportTemplate
Sets the reportTemplate. -
getSuiteName
Gets the suiteName. -
setSuiteName
Sets the suiteName. -
getSuccessTemplate
Gets the successTemplate. -
setSuccessTemplate
Sets the successTemplate. -
getFailedTemplate
Gets the failedTemplate. -
setFailedTemplate
Sets the failedTemplate. -
isEnabled
public boolean isEnabled()Gets the enabled. -
setEnabled
public void setEnabled(boolean enabled) Sets the enabled.
-