1 package org.testng; 2 3 import org.testng.xml.XmlSuite; 4 5 import java.util.List; 6 7 /** 8 * This interface can be implemented by clients to generate a report. Its method 9 * generateReport() will be invoked after all the suite have run and the parameters 10 * give all the test results that happened during that run. 11 * 12 * @author cbeust 13 * Feb 17, 2006 14 */ 15 public interface IReporter extends ITestNGListener { 16 /** 17 * Generate a report for the given suites into the specified output directory. 18 */ generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)19 void generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory); 20 } 21