polyspace-test -report
(System Command) Generate reports from test or code profiling results
Since R2023b
Syntax
Description
The system command polyspace-test -report generates XML or HTML reports from C/C++ test or code profiling results.
polyspace-test -report generates an XML report from the test result files specified by -report-dir <reportFolder> -xml <testResults> [-omit-passed-assessments] <testResults>. You can optionally omit passed assessments from the report. If the test results are associated with code profiling results, separate reports are generated for the profiling results too.
polyspace-test -report generates HTML reports from the test result files in -report-dir <reportFolder> -html <testResults> [-generate-test-spec-report] [-omit-passed-assessments]<testResults>. You can optionally report the test specifications in addition to the test results or omit passed assessments from the report. If the test results are associated with code profiling results, separate
reports are generated for the profiling results too.
polyspace-test -report generates HTML reports from test results by using a JSON file -report-dir <reportFolder> -html <testResults> -report-options <reportCustomizationFile><reportCustomizationFile> that contains report customization options.
polyspace-test -report generates an XML report from the code profiling result files in -report-dir <reportFolder> -xml <profilingResults> [-filter-files <filterFiles>] <profilingResults>. You can optionally provide paths to filter files that apply justifications to the code profiling results.
polyspace-test -report generates HTML reports from the code profiling result files in -report-dir <reportFolder> -html <profilingResults> [-filter-files <filterFiles>] <profilingResults>.
polyspace-test -report generates HTML reports from code profiling results using a JSON file -report-dir <reportFolder> -html <profilingResults> -report-options <reportCustomizationFile> [-filter-files <filterFiles>] <reportCustomizationFile> that contains report customization options..
polyspace-test -report generates reports using the options specified in -options-file <optionsFile><optionsFile>.
Examples
Input Arguments
Tips
If you want test results from Polyspace
Test™ to appear in an external interface, you can parse the XML reports generated from
the test results. For more information on the XML structure, see the XSD file
PolyspaceTestResults.xsd in
.
Here, polyspaceroot\polyspace\resources\polyspace_test_results is the Polyspace installation folder, for instance, polyspacerootC:\Program
Files\Polyspace\R2026a.