| Modifier and Type | Method and Description |
|---|---|
| public void | cacheDataForTestRetries(boolean
- when set to cache)true, TestNG does not invoke the data provider again
when retrying failed tests using a retry analyzer.
|
| public List | |
| public String | |
| 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 boolean | |
| public boolean | Returns: -trueIf data provider failures should be propagated as test failures
|
| public void | propagateFailureAsTestFailure()
Have TestNG consider failures in data provider methods as test failures. |
| public Class | Returns: - An Class which implementsIRetryDataProvider and which can be used to retry a
data provider.
|
| public void | |
| public void | |
| public void | |
| public void | setRetryUsing(Class<? extends IRetryDataProvider>
- A Class that implements retry)IRetryDataProvider and which can be used to
retry a data provider.
|
| cacheDataForTestRetries | back to summary |
|---|---|
public void cacheDataForTestRetries(boolean cache)
| |
| getIndices | back to summary |
|---|---|
| public List | |
| getName | back to summary |
|---|---|
public String getName()
| |
| isCacheDataForTestRetries | back to summary |
|---|---|
public boolean isCacheDataForTestRetries()
| |
| isParallel | back to summary |
|---|---|
| public boolean isParallel() Whether this data provider should be used in parallel.
| |
| isPropagateFailureAsTestFailure | back to summary |
|---|---|
public boolean isPropagateFailureAsTestFailure()
| |
| propagateFailureAsTestFailure | back to summary |
|---|---|
| public void propagateFailureAsTestFailure() Have TestNG consider failures in data provider methods as test failures. | |
| retryUsing | back to summary |
|---|---|
public Class
| |
| setIndices | back to summary |
|---|---|
| public void setIndices(List<Integer> indices) | |
| setName | back to summary |
|---|---|
| public void setName(String name) | |
| setParallel | back to summary |
|---|---|
| public void setParallel(boolean parallel) | |
| setRetryUsing | back to summary |
|---|---|
public void setRetryUsing(Class<? extends IRetryDataProvider> retry)
| |