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.
- In the editor, place the caret at a code symbol that you want to locate in the coverage tree.
- Choose dotCover | Locate in Coverage Tree or press Ctrl+Alt+K, L.
- The symbol will be located in the current snapshot hierarchy in the Coverage Results Browser or in the Coverage area of the Unit Test Sessions window .
Tip
The reverse navigation is available by double-clicking on items in the coverage tree.
Another navigation destination that you can use to explore code coverage is
Navigation to Covering Tests.
