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 from the main menu. Alternatively, you can press Ctrl+Shift+A, start typing the command name in the pop-up, and then choose it there.
- The symbol will be located in the current snapshot hierarchy in the Coverage Results Browser window or in the Unit Test Coverage window..