The following table describes the switches available in dotTEST.
Switch | Description |
---|---|
-solution PATH | Path to the solution(s) to be analyzed. Specify multiple times to analyze many solutions. Supports ANT-style wildcards. |
-project PATH | Path to project(s) to be analyzed when the solution is not provided. Specify multiple times to analyze many projects. Supports ANT-style wildcards |
-website DIR | Full path to web site directory to be analyzed when the solution is not provided. |
-config CONFIG_URL | Path to test configuration. Can point to built-in, user-defined, or team configurations stored in DTP. Can reference by filename or by HTTP URL. See Configuring Test Configurations. |
-resource RESOURCE | Solution path of a resource(s).The path corresponds to the path of an element in Solutions Explorer of Visual Studio. See Configuring the Test Scope. |
-include PATH | File-system paths of files to include in the analysis. Supports ANT-style wildcards. If not specified, all files are analyzed. See Configuring the Test Scope. |
-exclude PATH | File-system paths of files to exclude from the analysis. Supports ANT-style wildcards. See Configuring the Test Scope. |
-report PATH | Path to report directory or main report file. See Reviewing Results. |
-publish | Publishes report to DTP server. See Sending Results and Publishing Source Code to DTP. |
-settings PATH | Path to report directory or main report file. See Configuration Overview. |
-property KEY=VALUE | Single configuration setting. Example: -property "report.mail.enabled=true" |
-nobuild | Disables build of the tested solution or projects. |
-solutionConfig CONFIG | Solution configuration, e.g. Debug . |
-projectConfig CONFIG | Project configuration, e.g. Debug . |
-targetPlatform PLATFORM | Solution configuration target platform, e.g. Any CPU ; or project configuration target platform, e.g. AnyCPU. Note the syntax difference. |
-out PATH | Path where console output is saved. |
-help | Displays command line help. |
-version | Prints version |
-listconfigs | Prints all available test configurations. |
-encodepass PASSWORD | Prints an encoded password that can be used in the .properties configuration file. |
-reference PATH | Path to additional assemblies needed to resolve dependencies of the analyzed projects. Use this switch if you receive an "Unable to find reference assembly" message. |
-runtimeCoverage PATH | Path to the file that contains runtime coverage data |
-staticCoverage PATH | Path to the file that contains static coverage data |
-machineID | Prints your machine ID. |
-showsettings | Prints the current settings and customizations. |
-fail | Fails the command and returns a non-zero exit code if any findings are reported. |