dotCover 2022.2 Help


dotCover options: dotCover | General

This page summarizes general preferences for code coverage.

Use NGen native images

If selected, .NET Framework runtime will be allowed to load application's native images during coverage analysis. This may speed up the analysis: The application under coverage executes faster. Note that in some cases, using NGen images might be not possible. This will result in an application exception in case of getting coverage of an app and inconclusive tests in case of getting coverage of unit tests. In both cases, the setting must be disabled.

Preload test runners

Speeds up the startup phase of unit tests coverage analysis as the unit test runners are already loaded into memory. Normally, you should not disable this setting unless asked by the dotCover support.

Run test classes in parallel

If selected, dotCover will run test classes within an assembly in parallel. This may speed up coverage analysis. Note that the maximum number of processes running in parallel is defined by the Run up to X test runners in parallel option on the Tools | Unit Testing | General page of dotCover options (Alt+R, O).

Close unsaved snapshots without confirmation

If this checkbox is cleared, 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 Unit Test Coverage window . For more information, see Save and Open Coverage Snapshot.

Last modified: 01 August 2022