dotCover 2016.1 Help

Coverage Configuration

Ctrl+Alt+K,K

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

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

This dialog box allows selecting an application type and configuring related preferences when you start manual test session for an external application. Depending on the selected application type, the controls in the dialog box allow configuring different options.

For example, when we choose Web Application on Visual Studio Development Server, the dialog box looks as follows:

dotCover__Dialog_Boxes__Coverage_Configuration

Regardless of the selected application type, the Coverage options section contains the following controls:

ItemDescription
Start immediately Tick this check box to start recording coverage right after the target application is started under control of dotCover
Advanced options
Edit Filters Click this button to view existing and add new coverage filters. Note that the filters you add with this button are only applied to the current session.
Edit Symbol Search Policy Click this button to open the Edit Symbol Search Policy dialog and specify where to search for PDB information.
dotCover_edit_symbol_search_policy

Application type: Standalone Application

ItemDescription
Application Specify the path to the executable file of the target application.
Advanced options
Arguments Optional. Specify command-line arguments if needed.
Working directory Optional. 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 processes Optional. Select this check box if you want to analyze coverage of child processes.

Application type: Windows Store Application

ItemDescription
Packages Select the target application.

Application type: Silverlight Application

ItemDescription
Open URL Specify the URL to the Web page where the target Silverlight application is hosted.
in browser Optional. Select a Web browser that should be used to open the target Web page.
Note that this control is disabled unless Silverlight 4 Developer Runtime or higher is installed.

Application type: Web Application on Visual Studio Development Server (WebDev Application)

ItemDescription
Server Optional. Change Visual Studio Development Server that will be used to run your Web application.
Physical path Specify the path to the Web project.
Open URL Select this check box if you want to specify explicitly URL and browser that should open after the development server starts.
Advanced options
Virtual path Optional. Specify the portion of the request URL that follows the server identifier if it differs from the Web site root.
Port Optional. Change the port number if you want to run the Development Server on a specific port. Do not specify a port occupied by any other service.

Application type: WCF Service Library

ItemDescription
Library path Specify the path to WCF Service Library that should be deployed into WCF Service Host.
Config path Specify 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 Host Select one of the available WCF Service Hosts.
WCF Service Host allows to host and test your WCF Service Library. For more information, see WCF Service Host.
Client path Optional. Specify the path to a client application that should be launched alongside WCF Service Host.
Client arguments Optional. Specify command-line arguments for the client application.

Application type: Web Application on IIS Server (IIS)

ItemDescription
Open URL Optional. Select this check box 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)

ItemDescription
Configuration file Optional. 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.
Site If your Web application is already deployed, choose the corresponding Web site.
Application Path If your Web application is not deployed, specify the physical path to the application folder.
Open URL Optional. Select this check box if you want to specify explicitly an URL and a Web browser that should open after IIS Server starts.
Advanced options
Server Select the IIS Express server that is used to deploy your Web application. Note that IIS Express should be installed.
Runtime version Optional. Use this field to choose the .NET runtime version that will be used when deploying the application.
Port Optional. Use this field to specify the Web server port that will be used when deploying the application.

Application type: Windows Service

ItemDescription
Service Select a target .NET service from the list of installed services.
Advanced options
Arguments Optional. Specify command-line arguments if necessary.
Start dependent services Optional. Select this check box if you want to start services that depend on the target service.

Application type: .NET Process

ItemDescription
Filter Processes Optional. Click this button to specify include (with +) and/or exclude (with -) masks for process names.

See Also

Last modified: 19 August 2016