dotCover Help

Locating Code Items in Coverage Tree

ReSharper | Cover | Locate 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

  1. In the Visual Studio editor, place the caret at a code symbol that you want to locate in the coverage tree.
  2. Choose ReSharper | Cover | Locate in Coverage Tree in the menu or press Ctrl+Alt+K,L.
  3. 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 .

See Also

Last modified: 15 September 2015