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 voidgenerateReport(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.StringgetFileName(java.lang.Class cls)protected java.lang.StringgetTestName(ITestResult tr)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.testng.ITestNGListener
isEnabled
-
-
-
-
Method Detail
-
generateReport
public void generateReport(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String defaultOutputDirectory)
Description copied from interface:IReporterGenerate a report for the given suites into the specified output directory.- Specified by:
generateReportin interfaceIReporter- Parameters:
xmlSuites- The list ofXmlSuitesuites- The list ofISuitedefaultOutputDirectory- The output directory
-
getFileName
protected java.lang.String getFileName(java.lang.Class cls)
-
getTestName
protected java.lang.String getTestName(ITestResult tr)
-
-