Package org.testng.reporters
Class EmailableReporter
java.lang.Object
org.testng.reporters.EmailableReporter
- All Implemented Interfaces:
IReporter,ITestNGListener
Reported designed to render self-contained HTML top down view of a testing suite.
- Since:
- 5.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PrintWritercreateWriter(String outdir) protected voidendHtml(PrintWriter out) protected voidgenerateExceptionReport(Throwable exception) protected voidgenerateMethodDetailReport(List<ISuite> suites) Creates a section showing known results for each methodprotected voidgenerateMethodSummaryReport(List<ISuite> suites) Creates a table showing the highlights of each test method with links to the method detailsvoidCreates summary of the runvoidgenerateSuiteSummaryReport(List<ISuite> suites) voidsetFileName(String fileName) protected voidstartHtml(PrintWriter out)
-
Constructor Details
-
EmailableReporter
public EmailableReporter()
-
-
Method Details
-
getFileName
-
setFileName
-
generateReport
Creates summary of the run- Specified by:
generateReportin interfaceIReporter- Parameters:
xml- The list ofXmlSuitesuites- The list ofISuiteoutdir- The output directory
-
createWriter
- Throws:
IOException
-
generateMethodSummaryReport
Creates a table showing the highlights of each test method with links to the method details- Parameters:
suites- The run suites
-
generateMethodDetailReport
Creates a section showing known results for each method- Parameters:
suites- All suites
-
generateExceptionReport
-
generateSuiteSummaryReport
-
startHtml
-
endHtml
-