Starting Coverage Analysis for Startup Project
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
dotCover will open the Coverage Controller dialog and then run the startup project of the current solution.
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 from the main menu For more information, see Starting Coverage Analysis for External Applications.