dotCover 2017.1 Help

Starting Coverage Analysis for Startup Project

ReSharper | Cover | Cover Startup Project
Ctrl+Alt+K P
ReSharper_CoverStartupProject

dotCover lets you run the startup project of your Visual Studio solution under its control. All executable .NET project types are supported. With a single keystroke, dotCover will rebuild the solution and start the coverage run.

To run the startup project under dotCover Control

  1. Press Ctrl+Alt+K P or choose ReSharper | Cover | Cover Startup Project in the main menu .
  2. dotCover will open the Coverage Controller dialog and then run the startup project of the current solution.
  3. When the target application or process is started, you can record code coverage of the test running application.

dotCover will run the startup project using the current build configuration, in the same way as when you press F5 in Visual Studio. 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.

If you need to run the project with custom configuration without changing the debug (or release) configuration, press Ctrl+Alt+K K or choose ReSharper | Cover | Cover Application... in the main menu For more information, see Starting Coverage Analysis for External Applications.

See Also

Last modified: 3 April 2017