Coverage of Unit Test Session
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
- Open the Unit Test Sessions window by choosing on the main menu or pressing Ctrl+Alt+R.
- 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.