@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface UseDataProvider
@DataProvider
method.| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value
The required name of the data provider method to use test data from.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class<?>[] |
location
The class holding the data provider method, defaults to the test class (just first class will be considered).
|
public abstract java.lang.String value
public abstract java.lang.Class<?>[] location