polyspace.project.TestConfiguration Class
R2026bNamespace: polyspace.project
(Python) External testing and profiling configurations that can be associated with multiple projects
Since R2026a
Description
The properties of the polyspace.project.TestConfiguration class contain the
testing and profiling configuration options that are saved separately from a Polyspace® Platform project in an external configuration file. External configuration files
can be saved in the native format (.pscfg) or in a human-readable TOML format (.toml.pscfg). Saving
your testing and profiling configurations in external files and referencing those files from
one or more projects enables you to create a modular project structure that improves sharing
and version control workflows.
To work with external testing and profiling configurations, use this class, which contains
the configuration, together with the polyspace.project.TestConfigurationRef class, which contains the name of the
external testing and profiling configuration and the path to the file where it is
saved. The properties of this object correspond to the options related to
code profiling in Polyspace
Test™. See Code Profiling in Polyspace Platform User Interface.
To create and manage testing and profiling configurations that are owned by a specific
project, use the polyspace.project.OwnedTestConfiguration class.
Creation
Description
externalConfig = myTestConfigurationRefObj.get() returns the
polyspace.project.TestConfiguration object referenced by the
polyspace.project.TestConfigurationRef object
myTestConfigurationRefObj. For more information on managing external
configurations referenced by the project, see polyspace.project.TestConfigurationRef.
Properties
Methods
Version History
Introduced in R2026aSee Also
polyspace.test.run | polyspace.test.build | polyspace.project.Project | polyspace.project.TestConfigurationRef | polyspace.project.OwnedTestConfiguration | polyspace.project.BuildConfiguration | polyspace.project.StaticAnalysisConfiguration | polyspace.test.TestResults
Topics
- Get Started with Python API for Polyspace
- Create Easily Shareable Projects for Version Control
- Share and Reuse Configuration Variants
- Create TOML Configuration Files from Templates
- Modularize Project by Using External Configurations, Test References, and External Stub Files
- Modularize Existing Project by Using Polyspace Python API
- Create Project Dynamically by Using Polyspace Python API