This page summarizes general preferences for code coverage.
|Confirm closing unsaved snapshots||If this check box is selected, dotCover will show a dialog suggesting to save unsaved coverage snapshots when you close Visual Studio or corresponding tabs in the Coverage Results Browser window or in the Coverage area of the Unit Test Sessions window/ Continuous Testing Session window. For more information, see Saving and Opening Coverage Snapshot.|
|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.
|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.|
|Collect per-test information for WinStore tests|| 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.
Last modified: 15 January 2018