Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following options are available:

Option NameValueDescription
-app[path]Specifies the full path to the application.
-workingDir[path]Specifies the path to the working directory.
-appArgs[argument]Specifies the application command line arguments.
-commandsDir [path]Specifies the directory for the *.bat scripts generated by the coverage tool.
-scope

-solution [path]
-project [path]

Specifies the scope of the coverage to import by providing -solution or -project switches that will be passed to dotTEST executable so that it can locate sources. For example:

-scope "-solution C:\temp\Scope.sln"

-scope "-project C:\temp\Scope.csproj"

See Configuring the Test Scope for more information about the switches.

-clr

v20
v40

Specifies the .NET CLR version used by the application;
-runnoneAutomatically launches the monitorCoverage.bat script (optional; you can also open the directory specified with the -commandDir option and manually run the script).
-doNotRemoveOldCoveragenone

Specifies that old coverage data is not deleted before each run. If this option is not specified, coverage data collected during previous runs is deleted by default.

-withCoverageAgentnoneSpecifies that coverage is collected with the coverage agent.

Collecting Coverage without Coverage Agent REST Client

...