주요 콘텐츠

Inputs, Assessments, Stubs and Mocks

Specify test inputs and assessments, stub undefined function callees, override function callees

You can author graphical tests interactively in the Polyspace Platform user interface. A graphical test consists of one or more steps. In each step, select the function to test and specify test inputs and assessments. For both inputs and assessments, the test case editor supports variables with fundamental data types as well as complex data types such as aggregates (structures, enumerations, etc.) and pointers.

In each test, you must replace any callee that is undefined with a function stub. You can also optionally override a callee definition with a mock function.

Topics

Inputs

Assessments

Stubs and Mocks

AUTOSAR-Aware Stubs

Tests Authored in C/C++ (xUnit Tests)

Limitations

Related Information