You can run a subset of tests or view a subset of test results by filtering test tags. Tags are a property of the test case, test suite, or test file. You can also reorder test cases and test suites, which changes the order in which tests run.
Add comma-separated tags to the Tags section in the Test Browser. Tags cannot contain spaces; spaces are corrected to commas.
In the text box at the top of the Test Browser or
Results and Artifacts pane, filter tests by
tags: id1, id2, ... where
id2 are example test tags. Enter multiple tags
separated by commas to return tests containing
any tag in the list.
To run a subset of tests
Filter the tests using tags.
In the toolstrip, click the down arrow below Run and select Run Filtered.
To change the order in which tests run and are reported, you can drag and drop test cases to the desired locations in the Test Browser. You cannot drag and drop test suites.