Running Coverage Analysis of Unit Tests
With dotCover, you can run coverage analysis of unit tests in Visual Studio, in different scopes, from a single test to all unit tests in the solution.
Before running coverage analysis, make sure that the PDB information exists for all target assemblies. The safest choice would be to set the Debug as the build configuration.
dotCover provides the following scenarios to start coverage analysis of unit tests:
- Coverage of Selected Unit Tests
- Coverage of Unit Test Session
- Coverage of Unit Tests in Solution Part
- Coverage of Unit Tests in the Whole Solution