Locating Code Items in Coverage Tree
When working in the Visual Studio editor, you can quickly locate code symbols (types, methods, etc.) in the code coverage tree. This may be helpful if you want to see how well a code symbol is covered in the current snapshot.
The information on the symbol location in the coverage tree is taken from the current coverage snapshot. Therefore, if no coverage snapshot is open, the corresponding commands in the main and context menus are greyed out. You need to run coverage analysis of unit tests to enable these commands.
To locate a code symbol in the coverage tree
- In the Visual Studio editor, place the caret at a code symbol that you want to locate in the coverage tree.
- Press Ctrl+Alt+K L or choose in the main menu .
- The symbol will be located in the current snapshot hierarchy in the Coverage Results Browser Window or in the Coverage area of the Unit Test Sessions Window/ Continuous Testing Session Window .