polyspace.project.TestConfiguration Class
Namespace: 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 a .pscfg external configuration file.
Saving your testing and profiling configurations in .pscfg 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 .pscfg
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 R2026a