@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface UseDataProvider
value()
must be the name of a @
DataProvider
method which can optionally be located in another class (see location()
).Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
The required name of the dataprovider method to use test data from.
|
public abstract java.lang.String value
public abstract java.lang.Class<?>[] location
value()
. Defaults
to the test class where @
UseDataProvider
annotation is used. (Just first class will be
considered).