Top Description Methods
org.testng.annotations

public @Interface TestInstance

extends Annotation
Annotations
@Retention:RUNTIME
@Target:PARAMETER
Static Imports
java.lang.annotation.ElementType.PARAMETER

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.

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString