Class HtmlReportListener

  • All Implemented Interfaces:
    org.testng.IReporter, org.testng.ITestNGListener

    public class HtmlReportListener
    extends java.lang.Object
    implements org.testng.IReporter
    Enables ReportManager to generate custom HTML reports of failed/skipped/passed tests How to use it a) one approach is to add this listener to your test class Example:
    Author:
    Paul Brodner
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void generateReport​(java.util.List<org.testng.xml.XmlSuite> xmlSuites, java.util.List<org.testng.ISuite> suites, java.lang.String outputDirectory)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HtmlReportListener

        public HtmlReportListener()
    • Method Detail

      • generateReport

        public void generateReport​(java.util.List<org.testng.xml.XmlSuite> xmlSuites,
                                   java.util.List<org.testng.ISuite> suites,
                                   java.lang.String outputDirectory)
        Specified by:
        generateReport in interface org.testng.IReporter