org.apache.maven.surefire.testng
Class TestNGDirectoryTestSuite
java.lang.Object
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite
- All Implemented Interfaces:
- TestNgTestSuite
public class TestNGDirectoryTestSuite
- extends Object
- implements TestNgTestSuite
Test suite for TestNG based on a directory of Java test classes. Can also execute JUnit tests.
- Author:
- Brett Porter, Alex Popescu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestNGDirectoryTestSuite
public TestNGDirectoryTestSuite(File basedir,
ArrayList includes,
ArrayList excludes,
ArrayList specificTests,
String testSourceDirectory,
String artifactVersion,
Properties confOptions,
File reportsDirectory,
String testMethodPattern,
RunOrderCalculator runOrderCalculator)
execute
public void execute(TestsToRun testsToRun,
ReporterFactory reporterManagerFactory)
throws ReporterException,
TestSetFailedException
- Throws:
ReporterException
TestSetFailedException
executeMulti
public void executeMulti(TestsToRun testsToRun,
ReporterFactory reporterFactory)
throws ReporterException,
TestSetFailedException
- Throws:
ReporterException
TestSetFailedException
execute
public void execute(String testSetName,
ReporterFactory reporterManagerFactory)
throws ReporterException,
TestSetFailedException
- Specified by:
execute in interface TestNgTestSuite
- Throws:
ReporterException
TestSetFailedException
startTestSuite
public static void startTestSuite(RunListener reporter,
Object suite)
finishTestSuite
public static void finishTestSuite(RunListener reporterManager,
Object suite)
throws ReporterException
- Throws:
ReporterException
getSuiteName
public String getSuiteName()
locateTestSets
public Map locateTestSets(ClassLoader classLoader)
throws TestSetFailedException
- Specified by:
locateTestSets in interface TestNgTestSuite
- Throws:
TestSetFailedException
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.