org.testng.junit.IJUnitTestRunner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
Testing framework for Java
package org.testng.junit;
import java.util.Collection;
import java.util.List;
import org.testng.IInvokedMethodListener;
import org.testng.ITestNGMethod;
import org.testng.internal.ITestResultNotifier;
/**
* An abstraction interface over JUnit test runners.
*
* @author Alexandru Popescu
*/
public interface IJUnitTestRunner {
void setInvokedMethodListeners(Collection listener);
void setTestResultNotifier(ITestResultNotifier notifier);
void run(Class junitTestClass, String... methods);
List getTestMethods();
}