How to: Delete Test Results
To save disk space, you might want to delete test results. How you delete them depends on whether they were run from within Microsoft Visual Studio 2010 or from within Microsoft Test Manager.
After you run a test in Microsoft Test Manager you can choose to save the test results. If you do so, the results are associated with the test plan that contains that test.
To delete results of tests run from Microsoft Test Manager
In Microsoft Test Manager, select the test plan that contains the results you want to delete.
In the Testing Center, click Test, and then click Analyze Test Runs.
In the list of test runs, click the run you want to delete and then click the red Delete test run icon.
After you run a test in Microsoft Visual Studio 2010, results are saved automatically on your computer. How many test runs are saved depends on a setting in the Test Tools tab of the Options dialog box. If your setting allows Microsoft Visual Studio 2010 to save a lot of tests, you might want to occasionally delete some of the tests to save disk space.
To delete results of tests run from Visual Studio
In Visual Studio, open the test run that contains the test results you want to delete.
On the Test menu, point to Windows, and then click Test Runs.
In the Test Runs window, in the Connect list, click the down arrow, and then click Connect to test run.
In the Connect to Controller or Local Results dialog box, select either a remote controller or a local directory and then click OK.
If you select a local directory, click Browse to find the correct TestResults folder. By default, results for locally run tests are saved to Visual Studio 2010\Projects\Project Name\TestResults.
In the Test Runs window, select the runs you want to delete and on the Test Runs window toolbar, click Delete.