dotCover 2021.1 Help

Coverage Configuration dialog

Control+Alt+K K

In Visual Studio:
ReSharper | Cover | Cover Application...
ReSharper_CoverApplication

In dotCover standalone application:
File | Cover Application...

This dialog allows selecting a run configuration and configuring related preferences when you start a coverage run for an external application.

dotCover: Coverage Configuration dialog

The window contains the following controls:

AddClick to create a new run configuration. The run configuration specifies how dotCover should run the application you want to analyze. For example, for a standalone application, the run configuration includes the path to the application executable file and application command-line arguments.
Process filtersUse this list to select existing or add new coverage filters.
Edit Symbol Search PolicyClick this button to open the Edit Symbol Search Policy dialog and specify where to search for PDB information.
dotCover: Symbol search policy dialog
How to control profilingSelect how you want to control the session: Manually using the buttons of the Coverage Controller or using the API calls from the analyzed application.
Collect coverage data from startSelect this checkbox to start recording coverage right after the target application is started under control of dotCover

Application type

ApplicationSpecify the path to the executable file of the target application.
Advanced options
ArgumentsOptional. Specify command-line arguments if needed.
Working directoryOptional. Specify working directory. If the working directory is not specified, it will be automatically set to the path that contains the application executable file.
Cover child processesOptional. Select this checkbox if you want to analyze coverage of child processes.

Application type: .NET Core Applications

ApplicationSpecify the path to the executable (.exe) or library (.dll) file of the profiled application.
Advanced options
ArgumentsOptional. Specify command-line arguments if needed.
Working directoryOptional. Specify working directory. If the working directory is not specified, it will be automatically set to the path that contains the application executable file.
Cover child processesOptional. Select this checkbox if you want to analyze coverage of child processes.

Application type: WinRT Applications

PackagesSelect the target application.

Application type: WCF Services

Library pathSpecify the path to WCF Service Library that should be deployed into WCF Service Host.
Config pathSpecify the path to configuration file for WCF Service Library. If the library configuration file is located in the same directory, dotCover detects it automatically.
Advanced options
WCF HostSelect one of the available WCF Service Hosts.
WCF Service Host allows you to host and test your WCF Service Library. For more information, see WCF Service Host.
Client pathOptional. Specify the path to a client application that should be launched alongside WCF Service Host.
Client argumentsOptional. Specify command-line arguments for the client application.

Application type: Web Application on IIS Server (IIS)

Open URLOptional. Select this checkbox if you want to specify explicitly an URL and a Web browser that should open after IIS Server starts.

Application type: Web Application on IIS Express Server (IIS Express)

Configuration fileOptional. Use this field to explicitly specify the IIS Express configuration file. As soon as you specify a valid configuration file, the list of available Web sites is updated accordingly.
SiteIf your Web application is already deployed, choose the corresponding Web site.
Application PathIf your Web application is not deployed, specify the physical path to the application folder.
Open URLOptional. Select this checkbox if you want to specify explicitly an URL and a Web browser that should open after IIS Server starts.
Advanced options
ServerSelect the IIS Express server that is used to deploy your Web application. Note that IIS Express should be installed.
Runtime versionOptional. Use this field to choose the .NET runtime version that will be used when deploying the application.
PortOptional. Use this field to specify the Web server port that will be used when deploying the application.

Application type: Windows Services

ServiceSelect a target .NET service from the list of installed services.
Advanced options
ArgumentsOptional. Specify command-line arguments if necessary.
Start dependent servicesOptional. Select this checkbox if you want to start services that depend on the target service.

Application type: .NET Processes

Cover only specified .NET processesOptional. Specify a list of semicolon-separated list of processes that you want to analyze by dotCover.
Last modified: 05 April 2021