|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Factory
Marks a method as a factory that returns objects that will be used by TestNG as Test classes. The method must return Object[].
| Optional Element Summary | |
|---|---|
String |
dataProvider
The name of the data provider for this test method. |
String[] |
parameters
Deprecated. Use @Parameters |
@Deprecated public abstract String[] parameters
public abstract String dataProvider
DataProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||