ITestClassFinder (TestNG)

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.testng
Interface ITestClassFinder

    public interface ITestClassFinder

This class is used by TestNG to locate the test classes.

Author:
  Cedric Beust

Method Summary
`IClass[]` | `findTestClasses()`
`IClass` | `getIClass(java.lang.Class cls)` Return the IClass for a given class

Method Detail

### 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(java.lang.Class cls)

  Return the IClass for a given class

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD