Versions Compared

Key

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

...

  • dottestcli -config "builtin://Critical Rules"
  • dottestcli -config "user://My_Config"
  • dottestcli -config "dtp://New_Rules"

-listConfigs

This option prints a list of available test configurations and can be used to obtain a valid test configuration name you can pass with the -config option.


 See Configuring Test Configurations for details.

...

This option specifies the path to the solution to be analyzed (in the .sln or .slnx format). You can use Ant-style wildcards to specify patterns.

...

  • -solution "C:\Devel\FooSolution\FooSolution.sln" -solutionConfig Debug -targetPlatform "Any CPU"
  • -project "C:\Devel\FooSolution\FooProject.csproj" -projectConfig Debug -targetPlatform AnyCPU

Anchor
resource
resource

-resource <path relative to the solution>

...

These options narrow down the primary testing scope defined with the the -solution, -project, and -website options. You can use Ant-style wildcards to specify the resource.

...

  • -exclude "C:/Devel/FooSolution/*.Tests/**/*.*"
  • -include "C:/ProductX/Solution1/src"

Alternatively, you can specify a list of patterns in a  .lst file and pass the file with the -include or -exclude switch. Each line in the file will be treated as a single entry.

-reference <path>

This setting specifies the path to additional assemblies needed to resolve dependencies of the analyzed projects. Use this option if you receive an "Unable to find reference assembly" message. You can use Ant-style wildcards and relative paths to the current working directory.

...

See Running Unit Tests for more information.

See .Configuring+the+Test+Scope+v10.4.0 for details about configuring the test scope.

Installing Additional Components

...

This option specifies the path to a custom .properties file that includes customized settings in the following format:   key=value (for example, report.format=pdf). You can use this option multiple times to specify several .properties files. Entries with the same key will be overwritten. 

...

  • -property session.tag=sa_linux -property report.dtp.publish=true -property techsupport.create.on.exit=true


-showSettings

This option prints the current settings and customizations.


See Configuration Settings for the list of settings you can configure.

...

-encodePass <your password>

This option generates an encrypted password using AES 256-bit encryption that can be utilized in the .properties configuration file. 

-noBuild

This option skips the building phase of a solution or project.

...