By default nunit tests run alphabetically. Does anyone know of any way to set the execution order? Does an attribute exist for this?
NUnit 3.2.0 added an OrderAttribute, see:
OrderAttribute
https://github.com/nunit/docs/wiki/Order-Attribute
Example:
public class MyFixture { [Test, Order(1)] public void TestA() { ... } [Test, Order(2)] public void TestB() { ... } [Test] public void TestC() { ... } }