Versions Compared

Key

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

...

Alternatively, you can specify the output directory for reports with the -report switch. For example:

Code Block
dottestcli.exe -solution "C:\Devel\FooSolution\FooSolution.sln" -config "builtin://Demo" -report "C:\Report" 

Specifying Report Format

By default, an HTML report is generated. You can generate a PDF report or a report with a custom extension to the specified directory by setting the report.format property. For example:

...

You can customize any of the intermediate XSL transformation files used to generate reports in all available formats as an alternative to building a custom XSL transformation from scratch. These XSL files are located in the locationthe etc/xsl directory within the installation directory. You have two options:

  • Modify the file(s) you want to customize directly in the default directory:   locationetc/xsl.
  • Copy the file(s) you want to customize to another directory and modify them there. To use this directory before the default one for report generation, specify its path using the report.xsl.dir.user setting.

...

Report FormatDescriptionFile Name

HTML

(Default) A report in the HTML format containing all results supported by dotTEST.

report.html

PDF

A report in the PDF format containing all results supported by dotTEST. The report is generated based on an HTML report.

report.pdf

CSV

A report in the CSV format containing static analysis results.report.csv

XSL custom

A report in a custom format containing results processed by a custom user XSL transformation. All results supported by dotTEST can be included; see Support for Custom Report Formats for details.

report_custom.xml

report_custom.html

JSON SARIF (Static Analysis Results Interchange Format)

A report containing static analysis results according to the SARIF specification; see https://sarifweb.azurewebsites.net/ for details.report.sarif

JSON SARIF for Azure DevOps

An Azure DevOps-specific report containing static analysis results according to the SARIF specification; see https://sarifweb.azurewebsites.net/ for details.

report_azure.sarif

JSON SAST for GitLab

A GitLab-specific report containing static analysis results according to the SAST specification; see https://docs.gitlab.com/user/application_security/sast/ for details.report.sast

XML SATE (Static Analysis Tool Exposition)

A report containing static analysis results according to the SATE specification; see https://samate.nist.gov/SATE4.html for details.report_sate.xml
XML xUnitA report in the xUnit format containing unit test results.report_xunit.xml


You can customize the report file name, using the report.file.name setting.