56.6. Test Management

The easiest way to manage your tests is through the Test List Editor explained in Chapter 20. There you can add the tests to lists, select the tests or lists to run, sort, group, filter, and enable or disable them. To display the Test List Editor select it from the Test Windows menu.

Another option is to use the Test View window, which is simpler compared to the Test List Editor. From there you can also run tests and filter tests, but can't group them in test lists.

When you run a set of tests you will be presented with the Test Results window. In case it doesn't appear automatically you can open it from the Test Windows menu. There you can sort the tests and results and see error messages. You can select what tests to rerun; by default failing, inconclusive, and not-executed tests will be checked, and passed tests will be unchecked. Because the list of results can be big, you can use sorting, filtering, and grouping or even change the view to display a left pane with the Test Lists and use the same organization defined in the Test List Editor.

From the Test Results window you can export the Test Result to save a .trx file containing all the details and a folder with the test output. You can simply send the files to someone else who can import them from the ...

Get Professional Visual Studio® 2008 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.