Create a test plan

Create test plans to track manual testing for sprints or milestones. That way you can see when the testing for a specific sprint or milestone is complete.

  1. If you haven't already, create your team project and create your backlog.

  2. In Team Foundation Service, select your team project. (If you haven't been here before, use Browse all.)

    Go to your account home page 

  3. Go to the Test hub. Create a test plan for your current sprint.

    New button in the test plan explorer pane

  4. Name the test plan. Check the area path and iteration.

    Create button in the create test plan dialog box

  5. Now add test suites for the backlog items that need manual tests. (These backlog items could be user stories, requirements or another work item based on the setup of your team project.)

    New button in the test plan explorer pane and then choose requirement-based suite

    You use requirement-based suites to group your test cases together. That way you can track the testing status of a backlog item. Each test case that you add to a requirement-based test suite is automatically linked to the backlog item.

  6. Add a clause to filter by the iteration path for the sprint. Run the query to display the backlog items.

    Add new clause button to update the query. Run query button to display items.

  7. Choose the backlog items that you want to test this sprint.

    Select the items from the list. Create suites button to add to test plan.

    Now you've created a requirement-based test suite for each backlog item.

Q&A

Q:Can I group my requirement-based test suites together?

A:Yes. You can create a static test suite to do this. Static test suites can contain any type of test suites - just like folders. Drag test suites to group them in a static test plan.

Use static test suites like folders

Q:What are query-based test suites ?

A:Use a query to group together test cases that have a particular characteristic - for example, all the tests that have Priorty=1. The suite will automatically include every test case that is returned by the query that you define.

Q:Can I edit other properties of a test plan from the test hub?

A:You can only do this from Microsoft Test Manager. If you have installed Visual Studio 2012 Update 3, you can open a test plan in MTM directly from the test hub. (The most recently installed version of MTM is launched.)

Open test plan using Microsoft Test Manager

Try this next