FlakyTestAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Marks an android.test.InstrumentationTestCase test method for re-execution when it fails.
[Android.Runtime.Annotation("android.test.FlakyTest")]
public class FlakyTestAttribute : Attribute
[<Android.Runtime.Annotation("android.test.FlakyTest")>]
type FlakyTestAttribute = class
inherit Attribute
- Inheritance
-
FlakyTestAttribute
- Attributes
Remarks
This annotation is deprecated. Use FlakyTest instead. New tests should be written using AndroidX Test.
Java documentation for android.test.FlakyTest.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Constructors
| Name | Description |
|---|---|
| FlakyTestAttribute() | |
Properties
| Name | Description |
|---|---|
| Tolerance |
Indicates how many times a test can run and fail before being reported as a failed test. |