Importing External C/C++ Tests
Import C/C++ tests authored using GoogleTest or another external test authoring framework
You can import tests authored using GoogleTest or another external test authoring framework into a Polyspace Platform project. Importing external tests allows you to:
Build these existing tests along with any new test you add to the project (graphical tests or tests authored using the Polyspace® Test™ xUnit API).
Run these tests and review the test results in the Polyspace Platform user interface, just as you would with tests authored using Polyspace Test.
Polyspace Options
Topics
GoogleTest
- Run GoogleTest Tests Using Polyspace Platform Projects
Run GoogleTest tests and calculate code coverage. - Run GoogleTest Tests Using Polyspace Test CMake Package
Use Polyspace Test CMake package to manage test execution and profiling workflows for GoogleTest tests. - Convert GoogleTest Tests to Polyspace Test xUnit Tests
Convert tests authored using GoogleTest to tests using the Polyspace Test xUnit API.
Generic External Tests
- Run External C/C++ Tests in Polyspace Platform User Interface
Run tests written using an external testing framework, review test results, and calculate code coverage.
Troubleshooting
Troubleshoot Building GoogleTest Tests from Polyspace Platform Projects
Troubleshoot build errors when building GoogleTest tests in a Polyspace Platform project.