|
|||||||||
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 | |
---|---|
java.lang.String |
dataProvider
The name of the data provider for this test method. |
java.lang.String[] |
parameters
Deprecated. Use @Parameters |
@Deprecated public abstract java.lang.String[] parameters
public abstract java.lang.String dataProvider
DataProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |