Output file is in XML format
Specify that results of external test execution are in XML format
Since R2024b
Description
Specify that external tests added to the current Polyspace® Platform project produce XML output.
Set Option
In your Polyspace Platform project configuration, on the Project tab, select the External Tests node and then select this option.
Why Use This Option
If external tests added to a Polyspace Platform project produce XML output, it can be one of the following:
The XML output uses the same XML format as Polyspace Test™ results. These test results can be directly opened in the Polyspace Platform user interface without requiring additional transformations.
The XML output uses an XML format different from the Polyspace Test XML format. These test results can be converted to the Polyspace Test format using a command or XSLT transformation, and then opened in the Polyspace Platform user interface.
Specifying XML output allows you to provide further information on the XML format so that external test results are opened directly or converted to another format before opening.
For more information on the full workflow, see Run External C/C++ Tests in Polyspace Platform User Interface.
Settings
On (default)The test output file uses XML format. To make sure that the results of test execution are in XML format, you might need to specify appropriate command-line flags for one of these options:
The XML results in the output file might require further conversion to make them suitable for display in the Polyspace Platform user interface.
If the XML file uses the same format as Polyspace Test XML output, the results do not require further conversion. Enable the option
XML file uses Pst-xUnit format, do not use conversion.If the XML file uses a format that is different from the Polyspace Test XML output, the results require conversion. Enable one of these options:
OffThe test output file does not use XML format. You have to convert the output to the Polyspace Test format using a command.
Dependencies
This option is available only if you enable the option Use generic test
framework.
Version History
Introduced in R2024b