polyspace-test -generate
(System Command) Generate test registration function from a set of Polyspace Test C/C++ test files
Since R2023b
Syntax
Description
The system command polyspace-test -generate generates a test registration function for the C/C++ xUnit tests provided in test files.
polyspace-test -generate -registration generates a file -results-dir <resultsFolder> -filename <regFile> -test-sources <testFiles> [options]<regFile> with a test registration function for the tests specified in <testFiles>.
polyspace-test -generate -registration -main generates a file -results-dir <resultsFolder> -filename <regFile> -test-sources <testFiles> [options]<regFile> with a test registration function and a main function for the tests specified in <testFiles>.
Examples
Input Arguments
Version History
Introduced in R2023b