dotCover Web Help

dotCover | Cover Startup Project
Ctrl+Alt+K,P

The easiest way to start a manual test session is to run the startup project of your Visual Studio solution under control of dotCover. All executable .NET project types are supported. With a single keystroke, dotCover will rebuild the project and start the coverage test run.

Note

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, you can do so by choosing dotCover | Cover Application or pressing Ctrl+Alt+K,K. For more information, see Starting Manual Test Session for External Applications.

To run the startup project under dotCover Control
  1. On the Visual Studio main menu, choose dotCover | Cover Startup Project or press Ctrl+Alt+K,P.
  2. dotCover will open the dotCover Controller dialog box 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 session.

Tip

If you are going to analyze coverage of a Web application, you can choose a Web server that will host your application without changing the current debug configuration. For more information, see Web Application on Visual Studio Development Server and Web Application on IIS or IIS Express Server.