Class FailedReporter

java.lang.Object
org.testng.reporters.FailedReporter
All Implemented Interfaces:
IReporter, ITestNGListener

public class FailedReporter extends Object implements IReporter
This reporter is responsible for creating testng-failed.xml
Author:
Cedric Beust, Alexandru Popescu
  • Field Details

  • Constructor Details

    • FailedReporter

      public FailedReporter()
    • FailedReporter

      public FailedReporter(XmlSuite xmlSuite)
  • Method Details

    • generateReport

      public void generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)
      Description copied from interface: IReporter
      Generate a report for the given suites into the specified output directory.
      Specified by:
      generateReport in interface IReporter
      Parameters:
      xmlSuites - The list of XmlSuite
      suites - The list of ISuite
      outputDirectory - The output directory
    • generateFailureSuite

      protected void generateFailureSuite(XmlSuite xmlSuite, ISuite suite, String outputDir)