Deleting test results from a build

In either TFS 2005 or TFS 2008, you can delete the test results published against a build (How to: Publish Test Results).  However, discovering this feature may be difficult, and I didn’t find it on MSDN in a quick search of the docs.

What you’ll need to do is to bring up the build details (aka the build report) in Visual Studio.  Then expand the test results, right click on the link to the Test Run and choose Delete.

deleting test results from a build

Comments (3)

  1. The MSDN Ireland Blog on Team Edition for Database Professionals Walkthrough. Brian Harry on VSTS Web…

  2. Nathan Berg says:

    How do I do this in TFS 2010?

  3. buckh says:

    Nathan, unfortunately it takes a few more steps.  You can no longer do this from the builds page. You have to find the Test Runs in MTM and delete them there.…/ms182502(VS.100).aspx