Class UISettingsAttribute
- Namespace
- Xunit
- Assembly
- Xunit.StaFact.dll
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class UISettingsAttribute : Attribute, _Attribute
- Inheritance
-
UISettingsAttribute
- Implements
- Inherited Members
Properties
MaxAttempts
Gets or sets the maximum number of retry attempts for a test.
public int MaxAttempts { get; set; }
Property Value
- int
- Leave unset to inherit the value from an attribute applied to a containing type (the ultimate default being
1) 1to not retry the test on failure- An explicit value greater than
1to retry the test up to a total of this many attempts on failure
- Leave unset to inherit the value from an attribute applied to a containing type (the ultimate default being