Filter Test Execution, Results, and Coverage
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.
Add comma-separated tags to the Tags section in the Test Browser. Tags cannot contain spaces; spaces are corrected to commas.
Filter Tests and Results
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.
Run Filtered Tests
To run a subset of tests
Filter the tests using tags.
In the toolstrip, click the down arrow below Run and select Run Filtered.
For information on filtering test coverage, see Coverage Filtering Using the Test Manager