Export (0) Print
Expand All

Managing Large Numbers of Tests

The Test List Editor and the Test View window display the tests in your solution. Although the Test View window displays a flat list, you can use the Test List Editor to organize tests into a hierarchical structure. This structure consists of test lists. Test lists function both as nodes and as containers; they can contain tests and other test lists.

When your project uses dozens or hundreds of tests, it helps to have the capability of visualizing them in groups, or lists. But this is not the only reason to organize them into lists. You can also run the tests in a list by first selecting the list in the Visual Studio IDE, or you can run the tests in a list using the command-line test utility.

NoteNote:

If you have hundreds of unit test methods in a single test class, you might experience a performance issue when you add a new test method to this test class. This issue occurs when the test method is automatically added into the Test View window or the Test List Editor. For more information, see "Performance Issues When Adding Test Methods" in Troubleshooting in Test Edition.

Using Test Lists

Describes why to use test lists, how test lists and their contents are displayed, and the states that a test list can have.

How to: Create a Test List

Describes how to create, delete, and rename test lists.

How to: Organize Tests into Test Lists

Describes how to add tests into and remove tests from a test list and to copy or move tests between test lists.

How to: Configure and Run Build Verification Tests (BVTs)

Describes how to create a BVT test list, check it in to source control, create a Team Foundation Build build type, and then run the build type that contains the test list.

Walkthrough: Managing Tests Using Lists and Properties

Leads you through the steps to create a test list, add tests to it, copy tests between test lists, and disable tests by using a test property.

Selecting Test Management Views

Describes how to manage tests by using the Test List Editor and the Test View window and to customize the way those windows display their contents.

Community Additions

ADD
Show:
© 2015 Microsoft