|You are viewing documentation of TeamCity 6.5.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version.|
This section covers:
Reordering Risk Tests for JUnit and TestNG
You can instruct TeamCity to run some tests before others. You can do this on the build runner settings page. Currently there are two groups of tests that TeamCity can run first:
TeamCity allows you to enable both of these groups or each one separately.
Tests reordering works the following way:
TeamCity operates on test case basis, that is not the individual tests are reordered, but the full test cases. The tests cases are reordered only within a single test execution Ant task, so to maximize the feature effect, use a single test execution task per build.
Reordering Risk Tests for NUnit
Supported build runners:
Tests reordering only supports reordering of recently failed tests.
If risk tests reordering option is enabled, the feature for NUnit test runner works in the following way: