01: package org.testng.junit;
02:
03: import java.util.List;
04:
05: import org.testng.ITestNGMethod;
06: import org.testng.internal.ITestResultNotifier;
07:
08: /**
09: * An abstraction interface over JUnit test runners.
10: *
11: * @author <a href='mailto:the_mindstorm@evolva.ro'>Alexandru Popescu</a>
12: */
13: public interface IJUnitTestRunner {
14: void setTestResultNotifier(ITestResultNotifier notifier);
15:
16: void run(Class junitTestClass);
17:
18: List<ITestNGMethod> getTestMethods();
19:
20: }
|