Class OrderAttribute
Defines the order that the test will run in
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class OrderAttribute : NUnitAttribute, IApplyToTest, IApplyToTestSuite
- Inheritance
-
OrderAttribute
- Implements
- Inherited Members
Constructors
OrderAttribute(int)
Defines the order that the test will run in
public OrderAttribute(int order)
Parameters
order
int
Fields
Order
Defines the order that the test will run in
public readonly int Order
Field Value
Methods
ApplyToTest(Test)
Modifies a test as defined for the specific attribute.
public void ApplyToTest(Test test)
Parameters
test
TestThe test to modify
ApplyToTestSuite(TestSuite)
Modifies a test suite as defined for the specific attribute.
public void ApplyToTestSuite(TestSuite testSuite)
Parameters
testSuite
TestSuiteThe test suite to modify