All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.testng.ITestClassFinder Maven / Gradle / Ivy

There is a newer version: 7.10.2
Show newest version
package org.testng;

/**
 * This class is used by TestNG to locate the test classes.
 *
 * @author Cedric Beust
 */
public interface ITestClassFinder {
  /**
   * @return An array of all the classes that contain test
   * methods.  This method usually returns an array of one
   * class, which is the class on which TestNG is running,
   * except in the following cases.
   * - TestNG:  the class contains an @Factory method
   * - JUnit:  the class contains a suite() method
   */
  public IClass[] findTestClasses();

  /**
   * Return the IClass for a given class
   */
  public IClass getIClass(Class cls);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy