Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.testng.annotations
Annotation Type TestInstance

    @Retention(value=RUNTIME)
    @Target(value=PARAMETER)
    public @interface TestInstance

If this annotation is used on a parameter of a data provider, that parameter is the instance of the test method which is going to be fed by this data provider. This annotation is ignored everywhere else.

Author:
  cbeust

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT