Common Command Line Options
By default, the following options apply to coverage collection for IIS applications. To collect coverage for desktop applications, specify Command Line Options for Desktop Applications.
-register
Registers the coverage service port.
-unregister
Unregisters the coverage service port.
-coverageDataDir <path>
Specifies the path to the coverage data output directory.
-uninitialize
Restores the original web server environment and settings when errors occur.
-scope <path>
Specifies the path to the coverage scope configuration file. It is required if the scope is different from the default.
-port <port number>
Specifies the port number to use when starting the coverage agent if the default port is unavailable.
-skipValidation
Enables using a self-signed SSL certificate.
-useSsl
Enables connecting via HTTPS.
-agentTimeout <milliseconds>
Specifies the timeout for a connection with the coverage agent. The default value is 1500 ms.
If you provide 0 or a negative value, the connection attempt will not timeout, which may lead to a considerable slowdown or cause the tool to hang indefinitely.
-certificateHash <SSL certificate hash>
Specifies the hash of the SSL certificate for the port that is used by the coverage agent.
-certificatePath <path>
Specifies the path to a PFX file that stores the SSL certificate.
-certificatePassword <password>
Specifies the password for the SSL certificate stored in a PFX file.
-maxCoverableLines <max number of lines>
Specifies a limit for the number of lines that can be covered.
-multiUser
Enables collecting coverage information for multiple users. By default coverage information is collected for a single user.
-skipRegistration
Enables running the application without registering the coverage service port. It is assumed that the port is already registered. This option allows running the application without admin privileges.
-removeCertificate
Removes the SSL certificate when the port is manually unregistered with the -unregister
switch.
-displayAppId
Prints the 'appid' of the dotTEST IIS Manager.
-help
Displays the command-line help.
Command Line Options for Desktop Applications
-app <path>
Specifies the full path to the tested application for which coverage will be collected.
-workingDir <path>
Specifies the path to the working directory.
-appArgs <argument>
Specifies the application command line arguments.