Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Test Edition
 How to: Open a Test to Edit
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Studio Team System
How to: Open a Test to Edit

The Team System testing tools support several kinds of tests. Depending on the test type, tests consist of coded methods, sequences of HTTP requests, textual descriptions of test steps, groupings of other tests, or other kinds of content.

You sometimes have to open a test to edit it to change the way it functions. The following procedure describes how to open a test by using the windows and tools of Visual Studio Team System Test Edition.

To edit a test (all test types except unit tests)

  • In the Test List Editor, Test View window, or Solution Explorer, right-click the test you want to open and then click Open, or double-click the test.

    The test opens in the appropriate way for the test type. For example, for a manual test in Microsoft Word format, the test opens in Microsoft Word.

To edit a test (unit tests)

  • In the Test List Editor or Test View window, right-click the test you want to open and then click Open, or double-click the test. The test's source-code file opens and scrolls to the test method.

    NoteNote:

    Because a unit test is a method within a class, you can navigate to it in the same way that you can navigate to any other method in code. For example, you can navigate by using the Class View window or by using the Members list box of the Visual Studio code editor.

For unit tests, the source code editor opens with the appropriate function highlighted.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker