Setting up Test Execution Order in Selenium/NUnit

How Can We Help?

Setting up Test Execution Order in Selenium/NUnit

< Back

Once you have a few tests setup in a Selenium Project, you’ll likely want to start ordering your test execution. You can do this by setting the order of your TestFixtures and Tests.

 

 

[TestFixture]s are used for a test class, and [Test]s are used for individual tests in those classes. You’ll probably want to split test classes into the areas that you are testing (eg applications), and the individual parts within that area you’re testing (creating, editing, deleting), so that you can easily tell where tests fail.

Tests will execute according to the Order of TestFixtures, and the Order of Tests within those TestFixtures. You can have gaps within your Orders, so if you’re not sure how many tests you need you can space them out as 1, 10, 20, 99 etc and later put any new tests in between.

Comments are closed.

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X