In xUnit.net, is it possible to run tests in order?

Lance Fisher picture Lance Fisher · Aug 9, 2009 · Viewed 8.8k times · Source

I know you generally should not depend on order for your unit tests, but in xunit is it possible to make your tests run in a certain order?

Answer

Brad Wilson picture Brad Wilson · Aug 9, 2009

There is a sample in our Samples project named PrioritizedFixtureSample which allows you to control the ordering of tests.

See the samples in our latest release: https://xunit.net/#releases