...
Alternatively, you can specify the output directory for reports with the -repor
t 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 Format | Report File Name |
---|---|
HTML | report.html |
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 xUnit | report_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.