org.testng.annotations.TestInstance Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
Testing framework for Java
package org.testng.annotations;
import static java.lang.annotation.ElementType.PARAMETER;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* 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
*/
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
@Target({PARAMETER})
public @interface TestInstance {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy