Package org.testng.junit
Interface IJUnitTestRunner
-
- All Known Implementing Classes:
JUnit4TestRunner
,JUnitTestRunner
public interface IJUnitTestRunner
An abstraction interface over JUnit test runners.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JUNIT_4_TESTRUNNER
static java.lang.String
JUNIT_TESTRUNNER
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static IJUnitTestRunner
createTestRunner(TestRunner runner)
java.util.List<ITestNGMethod>
getTestMethods()
void
run(java.lang.Class junitTestClass, java.lang.String... methods)
void
setInvokedMethodListeners(java.util.Collection<IInvokedMethodListener> listener)
void
setTestResultNotifier(ITestResultNotifier notifier)
-
-
-
Field Detail
-
JUNIT_TESTRUNNER
static final java.lang.String JUNIT_TESTRUNNER
- See Also:
- Constant Field Values
-
JUNIT_4_TESTRUNNER
static final java.lang.String JUNIT_4_TESTRUNNER
- See Also:
- Constant Field Values
-
-
Method Detail
-
setInvokedMethodListeners
void setInvokedMethodListeners(java.util.Collection<IInvokedMethodListener> listener)
-
setTestResultNotifier
void setTestResultNotifier(ITestResultNotifier notifier)
-
run
void run(java.lang.Class junitTestClass, java.lang.String... methods)
-
getTestMethods
java.util.List<ITestNGMethod> getTestMethods()
-
createTestRunner
static IJUnitTestRunner createTestRunner(TestRunner runner)
-
-