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
cpptestcli -report /home/reports/html

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:

...

Report FormatReport File Name

HTML

report.html

PDF

report.pdf

CSV

report.csv

XSL custom

report_custom.xml

report_custom.html

JSON SARIF (Static Analysis Results Interchange Format)

report.sarif

JSON SARIF for Azure DevOps

report_azure.sarif

JSON SAST for GitLab

report.sast

XML SATE (Static Analysis Tool Exposition)

report_sate.xml
XML xUnitreport_xunit.xml

JSON SAST v14 for GitLab

report_v14.sast

cppUnit

report_cppunit.xml

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