The name defaults to the name of the annotated method.
The annotated method must return any of the following:
Object[][] or Iterator<Object[]>, where each Object[] is assigned
to the parameter list of the test method.
Object[] or Iterator<Object>, where each Object is assigned to the
single parameter of the test method.
The @Test method that wants to receive data from this DataProvider needs
to use a Test#dataProvider() name equal to the name of this annotation.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: -true if TestNG should use data returned by the original data provider
invocation, when a test method fails and is configured to be retried.
|
| public int[] | |
| public String | |
| public boolean | |
| public boolean | Returns: the valueHelps TestNG decide if it should treat data provider failures as test failures. |
| public Class | Returns: - An Class which implementsIRetryDataProvider and which can be used to retry a
data provider.
|
| cacheDataForTestRetries | back to summary |
|---|---|
public boolean cacheDataForTestRetries()
| |
| indices | back to summary |
|---|---|
| public int[] indices() Which indices to run from this data provider, default: all.
| |
| name | back to summary |
|---|---|
| public String name() The name of this DataProvider.
| |
| parallel | back to summary |
|---|---|
| public boolean parallel() Whether this data provider should be run in parallel.
| |
| propagateFailureAsTestFailure | back to summary |
|---|---|
| public boolean propagateFailureAsTestFailure() Helps TestNG decide if it should treat data provider failures as test failures.
| |
| retryUsing | back to summary |
|---|---|
public Class
| |