Polyspace Test

グラフィカル エディターを使用したテストパラメーターの追加を示す画面。

ユニットテストと統合テストの開発と実行

Polyspace Test xUnit API やグラフィカルなテスト作成エディターを対話的に使用して、C/C++ コードのテストを開発し、実行します。スタブやモックを作成して、テスト対象のコンポーネントを分離し、gMock などサードパーティのモックライブラリに統合します。

ソースコードとともに到達可能コードと到達不能コードのコードカバレッジ結果を示した表。

コードカバレッジの測定と実行プロファイリング

判定、条件、MC/DC などの業界標準メトリクスのコードカバレッジ結果を生成し、レビューします。コード実行のプロファイリングを行いながらテストを実行し、メモリ使用量や実行時性能の改善が必要なコード箇所を特定できます。

テストをソフトウェア要件にリンクさせるためのダイアログ。

テストのソフトウェア要件へのリンク

ユーザー インターフェイスを使用して、IBM® DOORS®、IBM DOORS Next、Microsoft® Word、または Microsoft Excel® などの外部のエディターやツールで作成されたテスト要件に C/C++ テストをリンクさせます。

ハードウェア サポート パッケージを使用して、生成コードを組み込みデバイスに展開できます。

ホストコンピューターやターゲット ハードウェアでのテスト実行

ホストコンピューターとターゲット ハードウェアの両方で、テストを実行して、コード カバレッジ メトリクスを収集し、メモリ使用量と実行時性能のプロファイリングを行います。

カバレッジや境界値のテストを生成するためのオプションを示すダイアログ。

カバレッジと境界値の目標を達成するためのテストの生成

手作業で作成したテストケースを補完するテストを自動生成し、コードカバレッジや境界値テストの要件を満たすことができます。

ISO 26262、DO-178、IEC 61508、IEC 62304、ISO 25119、EN 50128、EN 50657 のラベルが付いた色付きの図形。

認証規格への準拠

業界標準の認証プロセスに必要な成果物を作成できます。Polyspace Test は、IEC 61508 と ISO 26262 規格に使用できるツールとして、TÜV SÜD の認証を取得しています。DO-178C プロセスには、レポートと成果物を利用できます。

開発作業 (計画、設計、ビルド、テスト) と運用活動 (展開、運用、監視) が、継続的インテグレーションと継続的デリバリーを介して結びついた DevOps の循環ワークフロー図。

DevOps ワークフローの自動化と統合

既存の DevOps ワークフローや自動化されたプロセスに Polyspace Test を組み込むことで、最新のソフトウェア開発手法をサポートします。Polyspace Test は、Jenkins や Bamboo® などの広く使用されている継続的インテグレーション ツールと連携します。

Polyspace プラットフォームにおける静的解析と動的解析の結果。

静的解析と動的テストの統合 

静的解析 (Polyspace Bug Finder または Polyspace Code Prover) とテスト (Polyspace Test) の設定、実行、レビューを単一のインターフェイスで管理できます。コード解析ワークフローを使用して、問題のあるテストの特定、到達不能なコード分岐の正当化、複雑なコードカバレッジ要件への対応を可能にします。

実行時エラーのプロファイリング結果が表示されたユーザー インターフェイス。

サニタイザーを使用した実行時エラーのプロファイリング

サニタイザーを有効にしてテストを実行し、実行時エラーを検出できます。結果は、テストの失敗として表示されるか、サニタイザーのプロファイリング レポートで確認できます。

Polyspace Test FAQs

Polyspace Test provides tools for developing, managing, and executing unit and integration tests and analyzing structural coverage for C and C++ code in embedded systems.

Polyspace Test supports C and C++ code in embedded systems.

You can create tests using the Polyspace xUnit API or interactively using a graphical test authoring editor, and create stubs and mocks to isolate components under test.

Yes, Polyspace Test lets you execute tests, collect code coverage metrics, and profile memory and execution on both host computers and target hardware.

Polyspace Test provides industry standard code coverage metrics including decision, condition, and modified condition/decision coverage (MC/DC).

Yes, Polyspace Test can automatically generate tests to augment manually created test cases, achieve desired code coverage, test boundary values, and extend requirements-based test cases.

Yes, you can link C and C++ tests to requirements authored in external tools such as IBM DOORS, IBM DOORS Next, Microsoft Word, or Microsoft Excel for traceability.

Yes, Polyspace Test has been certified by TÜV SÜD for use with IEC 61508 and ISO 26262 standards, and provides reports and artifacts for DO-178C processes through certification kits.

Yes, Polyspace Test works with popular continuous integration tools including Jenkins and Bamboo to support modern DevOps workflows and automated processes. Polyspace Test also includes a complete Python API that helps developers integrate with existing CI/CD infrastructure.

Polyspace Test includes a common user interface that enables you to configure, run, and review results from Polyspace Bug Finder and Polyspace Code Prover, and use static analysis results to justify missing code coverage, generate tests, and instrument for dynamic run-time error and memory checking.