Navigating to Source Code
After you run unit tests with or without coverage analysis, the Output area of the Unit Test Sessions window provides detailed reports on failed unit tests. You can analyze these reports and navigate to the source code of the reported items right from the Output area.
To navigate from unit test results to a test declaration
- In the tree view of the Unit Test Sessions window, select a failed test entry.
- In the preview pane of the Unit Test Sessions window, click one of the links. The corresponding test class or method declaration will be shown in the text editor.