docs/articles/nunit/writing-tests/attributes/order.md
The OrderAttribute may be placed on a test method or fixture to specify the order in which tests are run within the
fixture or other suite in which they are contained. Ordering is given by the required order argument to the attribute,
an int.
The following tests will be run in the order:
public class MyFixture
{
[Test, Order(1)]
public void TestA() { /* ... */ }
[Test, Order(2)]
public void TestB() { /* ... */ }
[Test]
public void TestC() { /* ... */ }
}
OrderAttribute argument are started before any tests without the attribute.order argument.order value or without the attribute, execution order is indeterminate.