Поделиться через


How to: Remove a Test Case from a Test Suite

Occasionally, you no longer require a particular test case in your test suite. You can remove a test case from a test suite in your test plan by using Microsoft Test Manager, as shown in the following illustration. The test case is still available in the team project to be added to other test suites and different test plans. All test results for that test case will no longer be associated with the test plan.

Remove a Test Case From a Test Suite

Note

If you remove a test case from a test suite that is based on a requirement or a user story, this also removes the link between the test case and the requirement or user story. This might impact test coverage for the user story.

To remove a test case from a test suite

  1. Open Microsoft Test Manager.

    Note

    To display the Microsoft Test Manager window, click Start, and then click All Programs. Point to Microsoft Visual Studio 2010 and then click Microsoft Test Manager 2010.

  2. From the Testing Center, click Plan and then click Contents.

    The Contents pane is displayed.

  3. Select the test suite in the test suite hierarchy pane that contains your test case.

  4. To remove the test case from the test suite, select the test case listed in the test suite details pane and then click Remove.

    The test case will no longer be visible in the test suite details pane.

See Also

Concepts

Organizing Test Cases Using Test Suites