Package org.testng.reporters
Class JUnitReportReporter
- java.lang.Object
-
- org.testng.reporters.JUnitReportReporter
-
- All Implemented Interfaces:
IReporter
,ITestNGListener
public class JUnitReportReporter extends java.lang.Object implements IReporter
-
-
Constructor Summary
Constructors Constructor Description JUnitReportReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String defaultOutputDirectory)
Generate a report for the given suites into the specified output directory.protected java.lang.String
getFileName(java.lang.Class cls)
protected java.lang.String
getTestName(ITestResult tr)
-
-
-
Method Detail
-
generateReport
public void generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String defaultOutputDirectory)
Description copied from interface:IReporter
Generate a report for the given suites into the specified output directory.- Specified by:
generateReport
in interfaceIReporter
- Parameters:
xmlSuites
- The list ofXmlSuite
suites
- The list ofISuite
defaultOutputDirectory
- The output directory
-
getFileName
protected java.lang.String getFileName(java.lang.Class cls)
-
getTestName
protected java.lang.String getTestName(ITestResult tr)
-
-