Package org.testng

Interface ITestClassFinder

All Known Implementing Classes:
BaseClassFinder, TestNGClassFinder

public interface ITestClassFinder
This class is used by TestNG to locate the test classes.
  • Method Details

    • findTestClasses

      IClass[] findTestClasses()
      Returns:
      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
    • getIClass

      IClass getIClass(Class<?> cls)
      Return the IClass for a given class
      Parameters:
      cls - The class
      Returns:
      The related IClass