This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Filter Test Execution and Results

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 Tags

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 entering tags: id1, id2, ... where id1 and 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

  1. Filter the tests using tags.

  2. In the toolstrip, click the down arrow below Run and select Run Filtered.