Sunday, August 29, 2010

Introducing the TFS 2010 test features in your existing projects

You upgraded your existing Team Foundation Server installation to TFS 2010 and now you want to use the new test features for your existing projects. Sounds like a logical scenario but it isn’t something that works out-of-the-box. Some extra steps are required to make this work.

First of all you must add the new work item types, test case and shared steps, to your upgraded team project to use Microsoft Test Manager. These work item types, test case, and shared steps are included in the process templates for Microsoft Solutions Framework (MSF). For more information, see the following topics:

In addition to the new work item types, you must add link types and categories that are provided with version 5.0 of the MSF process templates. You must customize existing work item types to have the new fields appear on the work item forms. You must also upload a mapping file that specifies the work item type to support automatic creation of bugs or code defects by Microsoft Test Manager.

More information can be found on the MSDN website.


William Echlin said...

I'm trying to get to grips with understanding the TFS test process. And one thing that is confusing me is the test case state flow. I mean design, ready and closed seem quite straight froward at first but soon become quite limiting. For example if you have a review process where a developer might be assigned the test case to review. Is it possible to modify this test case state process anywhere in TFS?

Bart Wullems said...

Hi William,

The test case is just a work item type and this means you can alter it any way you want. However the tooling sometimes expect certain states and data, so be carefull to not change too much.