@Deprecated @Target(value=METHOD) @Retention(value=RUNTIME) public @interface FlakyTest
InstrumentationTestCase
's
test methods. When the annotation is present, the test method is re-executed if
the test fails. The total number of executions is specified by the tolerance and
defaults to 1.Modifier and Type | Optional Element and Description |
---|---|
int |
tolerance
Deprecated.
Indicates how many times a test can run and fail before being reported
as a failed test.
|