主要内容

XSLT File

Specify XSLT file for transforming external test results to Polyspace Test result format

Since R2024b

Description

Specify XSLT file for transforming XML results of external tests in the current Polyspace® Platform project to the Polyspace Test™ XML format.

Set Option

In your Polyspace Platform project configuration, on the Project tab, select the External Tests node and then enter an XSLT file path for this option.

Why Use This Option

You can review the results of external C/C++ tests in the Polyspace Platform user interface, but the results must be in the same XML format as Polyspace Test results.

If the XML output of your external tests uses a different XML format, you must convert the results to the Polyspace Test format in order to be able to open them. You can convert the results using either an XSLT transformation or a command.

For more information on the full workflow, see Run External C/C++ Tests in Polyspace Platform User Interface.

Settings

Enter the absolute or relative path to an XSLT file. Relative paths are resolved with respect to the location of the current project.

Tips

You can use project variables or system environment variables as shorthands for root folders in the XSLT file path. If you share the project with another user who has the XSLT file in a different root location, utilizing environment variables can help ensure that the project stays in sync with the new location of the file. For more information, see:

Dependencies

This option is available only if you enable these options:

Version History

Introduced in R2024b