Thursday, 25 February 2010

Visual Studio Team System 2010 - Connecting Test Cases to User Stories

This walkthrough guides you through the process for connecting existing test cases to user stories. In this scenario, Lucerne Publishing wants to be able to view which test cases will test which user stories for the DinnerNow.net payment system. This lets Lucerne publishing know the level of test coverage for each user story.

Suppose that you are a test lead at Lucerne Publishing. You want to link the existing manual test to the user story to check that the reviews are displayed for a restaurant because the test also covers this functionality.

In this walkthrough, you complete the following task:

Link Existing Test Case to a User Story

To link existing test cases to a user story

1. To display the Planning Activities Center, click Planning.
2. In the Requirements pane, double-click the requirement Customer Finds Reviews for
Restaurant that you want to link to your test case.

The requirement is displayed.



3. Select the Test Cases tab.
4. To find the test cases, click Add.

The Add Link to User Story dialog box is displayed.



5. To find the test cases that you want to link to the requirement, click Browse to
select a query to use.

The Choose linked work items dialog box is displayed



6. Select the following query: Team Queries/Open Test Cases, and then click Find.
The test cases in the query are displayed



9. Select the check box for the row that contains Complete Purchase Scenario.



10. To select to link these test cases to this requirement, click OK.

The Choose linked work items dialog box is no longer displayed



11. To add the links to this requirement, click Ok.

The links are now displayed.

12. To save the requirement, click Save and Close in the toolbar.


1 comment: