Class TestOrderAttribute
Defines the attribute used to order tests by the specified ordinal.
public class TestOrderAttribute : Attribute
- Inheritance
-
TestOrderAttribute
- Inherited Members
- Extension Methods
Constructors
TestOrderAttribute(int)
Initializes a new instance of the TestOrderAttribute class.
public TestOrderAttribute(int ordinal)
Parameters
ordinal
intThe ordinal.
TestOrderAttribute(int, string?)
Initializes a new instance of the TestOrderAttribute class.
public TestOrderAttribute(int ordinal, string? reason)
Parameters
Properties
Ordinal
Gets the ordinal.
public int Ordinal { get; }
Property Value
- int
The ordinal.
Reason
Gets the reason for choosing the order.
public string? Reason { get; }
Property Value
- string
The reason.