dotCover Help


ReSharper | Options | Cover | General

This page summarizes general preferences for code coverage.

Confirm closing unsaved snapshots If this check box is selected, dotCover will show a dialog box suggesting to save unsaved coverage snapshots when you close Visual Studio or corresponding tabs in the Coverage Results Browser or in the Coverage area of the Unit Test Sessions window . For more information, see Saving and Opening Coverage Snapshot.
Save and restore snapshots with Unit Test Sessions If this check box is selected, dotCover will automatically save and restore any coverage snapshots that are shown in the Unit Test Sessions window.
Filter out system and auxiliary assemblies Allows excluding these assemblies from coverage analysis. By default, this option is enabled. You might only need to disable it if you are analysing source code of Microsoft assemblies.
Auto map source file paths in snapshots This option only matters for coverage snapshots taken in other computers. If this check box is selected, dotCover will try to match the file paths in the snapshot to the local file paths.
If the paths are mapped successfully, then you will be able to visualize code coverage in files and navigate to covering tests.
If dotCover fails to map the paths correctly, then the both features may not work. In this case, you can deselect this check box.
Collect per-test information for WinStore test When this option is enabled, dotCover includes per-test information in coverage snapshots when you cover Windows Store applications.
If you have some problems with covering Windows Store applications, clear this check box. In this case, coverage algorithm is simplified and you will only get the overall coverage result in the snapshot.
Include not loaded solution assemblies into coverage results If this option is disabled, assemblies that were not analyzed (e.g., because they do not have unit tests) are not included in the snapshot.
If this option is enabled, all assemblies from the solution are added to the snapshot thus making the total coverage results more realistic.

See Also

Last modified: 15 September 2015