Organizing Test Cases Using Test Suites

Using Microsoft Test Manager you can group your test cases together by organizing test cases into a test suite hierarchy in your test plan. By grouping your test cases together, when you want to run all these tests, you can change the state of your test suite. Then you can select this test suite to run all the tests. You can also report on your test suites to see how the testing is progressing for a particular set of tests. For more information about how to run the tests in a test suite from your test plan, see Running Tests.

Note

The test suites in your test plan are added and managed as part of a hierarchy that includes a root node. The root node test suite has the same name as the test plan. It contains all other test suites.

Tasks

Tasks

Associated Topics

Creating and Managing a Static Group of Tests: You can create a test suite by adding specific tests to that test suite or by creating tests for that test suite.

Creating and Managing a Dynamic Group of Tests: You can create a query-based test suite by defining a query to select test cases. For example, you can create a query to select all test cases that are priority 1. By creating this test suite, any test case that you create with a value of 1 in the priority field for your team project will automatically be added to this test suite.

Adding a Requirement to Your Test Plan: You can also organize your test cases by requirements or user stories. You can add an existing requirement or user story to your plan. This enables you to link existing test cases to this requirement. You can also create test cases for this requirement.

Copy an Existing Test Suite from Another Test Plan: You can import a test suite from another test plan in your team project. This test suite will be added to your current test plan. This is useful if you are creating a test plan for your Beta 2 iteration and you have some test suites that you need from your Beta 1 iteration test plan.

Setting a Test Suite to Be Ready for Testing: When you are ready to run the tests for a particular test suite, you can set the state to let the testers know that they can start on the tests. For example, if a user story or requirement is now complete and available in a build, you can set the test suite for this user story or requirement to In progress.

See Also

Concepts

Defining Your Testing Effort Using Test Plans

Defining Your Test Matrix Using Test Configurations