public class TestNGXmlTestSuite extends Object implements TestNgTestSuite
Constructor and Description |
---|
TestNGXmlTestSuite(List suiteFiles,
String testSourceDirectory,
String artifactVersion,
Properties confOptions,
File reportsDirectory)
Creates a testng testset to be configured by the specified
xml file(s).
|
Modifier and Type | Method and Description |
---|---|
void |
execute(ReporterFactory reporterManagerFactory) |
void |
execute(String testSetName,
ReporterFactory reporterManagerFactory) |
String |
getSuiteName() |
Map |
locateTestSets(ClassLoader classLoader) |
public TestNGXmlTestSuite(List suiteFiles, String testSourceDirectory, String artifactVersion, Properties confOptions, File reportsDirectory)
public void execute(ReporterFactory reporterManagerFactory) throws ReporterException, TestSetFailedException
public void execute(String testSetName, ReporterFactory reporterManagerFactory) throws TestSetFailedException
execute
in interface TestNgTestSuite
TestSetFailedException
public Map locateTestSets(ClassLoader classLoader) throws TestSetFailedException
locateTestSets
in interface TestNgTestSuite
TestSetFailedException
public String getSuiteName()
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.