Contenido principal

Test Generation

R2026b
Generate tests for boundary values, coverage objectives, or functional requirements using Polyspace® Copilot

In the Polyspace Platform user interface, you can automatically generate test inputs with respect to specific objectives. For instance, you can generate tests that call functions with boundary values of inputs, or tests that cover true or false outcomes of all conditions in a function (full condition coverage).

You can also use Polyspace Copilot to generate functional tests that validate functional requirements.

System Commands

polyspace-test -generate-tests(System Command) Generate C/C++ unit tests automatically in a Polyspace Platform project
polyspace-test -create-testgen-config(System Command) Create a default configuration file for automatic test generation in a Polyspace Platform project

Topics

Automated Structural Test Generation

Functional Test Generation Using Polyspace Copilot