メインコンテンツ

Polyspace Test

Develop tests and analyze structural coverage for C/C++ code in embedded systems

Polyspace® Test™ provides tools for developing, managing, and executing unit and integration tests and analyzing structural coverage for C/C++ code in embedded systems. You can create tests with the Polyspace xUnit API or graphical test authoring editor and stubs or mocks to isolate and verify code under test. Polyspace Test lets you execute tests on host computers or embedded targets, automate test execution, and link tests to requirements for traceability.

You can perform code coverage analysis to measure test completeness with metrics such as decision, condition, and modified condition/decision coverage (MC/DC). You can use automatic test generation to achieve desired code coverage, test boundary values, and extend requirements-based test cases.

Polyspace Test includes a common user interface that enables you to configure, run, and review results from Polyspace static analysis tools. You can use those results to justify missing code coverage and verify robustness of tests.

Support for industry standards is available through IEC Certification Kit (for ISO 26262 and IEC 61508) and DO Qualification Kit (for DO-178).

Get Started

Learn the basics of Polyspace Test

Project Setup

Create projects and manage files

Test Authoring

Author tests in user interface or using C/C++ code

Test Generation

Generate tests for boundary values of function inputs or coverage objectives

Test Execution

Configure test execution, build and run tests, fix build errors

Code Profiling

Calculate metrics such as code coverage, execution times, or memory usage

Testing on Targets

Register targets, build and run tests on target

Testing Automation

Automate test execution or end-to-end testing workflows using system commands or Python® scripts

Reviewing and Reporting Results

View test pass or fail information and code coverage results, generate reports, fix or justify missing coverage

Tools Qualification and Certification

Qualify Polyspace Test for DO and IEC certification

Troubleshooting in Polyspace Test

Resolve unexpected issues in Polyspace Test