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.
Unit Test Sessions
window by choosing
dotCover | Unit Tests | Unit Test Sessions
on the main menu or pressing
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.
- 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.
- Click Cover All Tests with dotCover on the toolbar.
- The resulted coverage snapshot will be displayed in the new Coverage area where you can analyze it.
- Configuring dotCover
- Execution and Coverage Analysis of Unit Tests
- Recognizing Unit Tests
- Working with Unit Tests
- Sharing Unit Test Support with ReSharper
- Coverage of Selected Unit Tests
- Coverage of Unit Tests in Solution Part
- Coverage of Unit Tests in the Whole Solution