dotCover Web Help

With dotCover integrated into Visual Studio, you can create unit test sessions that include any combination of unit tests and test classes. For example, you can gather all unit tests that target a particular feature and then run them all when necessary. It is also useful to analyze coverage of each unit test session.

To analyze coverage of a unit test session
  1. Open the Unit Test Sessions window by choosing dotCover | Unit Tests | Unit Test Sessions on the main menu or pressing Ctrl+Alt+RCtrl+Alt+T.


    If you use JetBrains ReSharper, dotCover may disable its unit test runner and use that of ReSharper. For more information, see Sharing Unit Test Support with ReSharper
    In this case, choose ReSharper | Windows | Unit Test Sessions on the main menu.
    Anyway, pressing Ctrl+Alt+RCtrl+Alt+T is the safest choice as it works for both ReSharper and dotCover.

  2. If you have not yet arranged any test session, see Working with Unit Tests for guidelines. Otherwise, open a tab with the desired unit test session in the Unit Test Sessions window.
  3. Click Cover All Tests with dotCover icon_cover_all on the toolbar.
  4. The resulted coverage snapshot will be displayed in the new Coverage area where you can analyze it.