polyspace-test -create-testgen-config
R2026b(System Command) Create a default configuration file for automatic test generation in a Polyspace Platform project
Since R2026b
Description
The system command polyspace-test -create-testgen-config
creates a default test generation configuration file for a specified function in a Polyspace® Platform project. You can then customize the configuration file and use it with
the polyspace-test
-generate-tests command.
polyspace-test -create-testgen-config
creates a default test generation configuration file -config-file <configFile> -project <projectFile> -function <function>configFile for
the function function in the project
projectFile. The configuration file uses a TOML-like format and
contains default entries for the function inputs. You can edit this file to add
constraints such as fixed values, minimum and maximum bounds, and pointer target sizes,
and then use it with the polyspace-test
-generate-tests command.
Examples
Input Arguments
More About
Version History
Introduced in R2026b