Default command. Scans application and runtime coverage data in order to generate a coverage report. To generate a report, run:
dottestcov.bat coverage [-app <APP_LOCATION> | -static <BASE_COVERAGE_REPORT_FILE>] [-runtime <RUNTIME_COVERAGE_LOCATION>] [-report <REPORT_DIR>] [-deleteruntime] [-excludeunmatchedruntime] |
Specifies the location of the Application Under Test (AUT) directory.
Specifies the XML coverage report file containing the coverage base of the AUT.
Specifies the location of the runtime coverage directory generated during test execution against the AUT.
Generates an XML coverage report to the given folder. Optional parameter; by default the report is stored to the .coverage/reports folder.
Deletes the runtime coverage data files used to generate the coverage XML report.
If this parameter is present, the runtime coverage data files will be deleted after the report is created.
Excludes from processing runtime coverage data that does not match classes contained in the coverage base.
If this parameter is present, any unmatched runtime coverage data will be discarded from the final coverage report.
Scans the application and analyzes the baseline coverage report to find tests that need rerunning. In order to generate an LST file for the impacted tests, run:
dottestcov.bat impacted -app <APP_LOCATION> -baseline <BASELINE_COVERAGE_REPORT FILE> [-report <LST_FILE_DIR>] |
Specifies the location of the Application Under Test (AUT) directory.
Specifies the XML coverage report to use as the baseline.
Generates an LST file in a given location. If an LST file already exists, it will be overwritten. Optional parameter; by default the LST file is stored to the .coverage/lsts folder.
Merges previously generated runtime coverage reports. In order to merge two or more reports, run:
dottestcov.bat merge -coverage <REPORT_FILE> -coverage <REPORT_FILE> [-coverage <REPORT_FILE>] [-report <REPORT_DIR>] [-excludeunmatchedruntime] |
Specifies one or more input coverage XML reports to merge and publish to DTP.
Generates an XML coverage report to the given folder. Optional parameter; by default the report is stored to the .coverage/reports folder.
Shows the dottestcov
help.
Specifies patterns to include/exclude elements during AUT scanning. Optional parameter. The pattern should be assembly/fully.qualified.name
. Wildcards are supported.
Examples:
-include "assembly.dll/*"
-exclude "*/My.Namespace.*"
Uploads the generated reports to the DTP server. (Settings pattern: report.dtp.publish=true)
Reads the custom configuration from a file. <SETTINGS_FILE> should be an existing configuration file with <KEY=VALUE> entries (.properties).
Specifies a custom configuration entry. You can use -property multiple times (if more than one entry includes the same key, the entry specified as first will overwrite all the following entries).
Increases output verbosity.
(Settings pattern: console.verbosity.level=high)
The dottestcov process may exit with one of the following exit codes:
Code | Meaning |
---|---|
0 | Successful completion. |
130 | Command line is malformed or refers to a resource that does not exist. |
135 | The process exited with an exception. Check error log. |