dotCover 2024.3 Help

Locate Code Items in Coverage Tree

When working in the Visual Studio editor, you can quickly locate code symbols (types, methods, and so on) 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.

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. Press Control+Alt+K L or choose ReSharper | Cover | Locate In Coverage Tree from the main menu . Alternatively, you can press Control+Shift+A, start typing the command name in the popup, and then choose it there.

  3. The symbol will be located in the current snapshot hierarchy in the Coverage Results Browser window or in the Unit Test Coverage window .

Last modified: 23 September 2024