FlakyTestpublic class FlakyTest This annotation can be used on an {@link android.test.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. |
Methods Summary |
---|
int | tolerance()Indicates how many times a test can run and fail before being reported
as a failed test. If the tolerance factor is less than 1, the test runs
only once.
|
|