Parasoft Logo

Discover TÜV-certified GoogleTest with Agentic AI for C/C++ testing!
Get the Details »

C/C++ UNIT TESTING

Unit Testing on Host and Target for C and C++ Applications

Powered by Parasoft C/C++test and C/C++test CT — Complete Development Testing for C and C++

Screenshot from C/C++test test overview video. Graphics representing the various industries, including aerospace/defense, industrial automation, and semiconductor.

C/C++ Unit Testing Solutions

Parasoft provides two complementary solutions for unit testing C and C++ applications:

  • C/C++test — built-in, end-to-end unit testing framework
  • C/C++test CT — enhances unit testing frameworks like GoogleTest with TÜV SÜD certified-support

Both solutions support host and target execution, advanced code coverage, powerful stubbing and mocking, and seamless CI/CD integration. AI-driven test generation, powered by MCP-enabled intelligent agents, further accelerates test creation and coverage.

How Does It Work?

 

C/C++test – Built-In Unit Testing Framework

Developers create and execute unit tests using graphical editors, guided workflows, and the Test Case Explorer. The framework automatically generates tests, mocks, stubs, and assertions to isolate units under test. During execution, it detects failures, unsatisfied expectations, and coverage gaps in real time.
 
All test artifacts are generated as source code, ensuring full reviewability, version control, and suitability for safety-critical development.

C/C++test CT – Open Framework Integration with TÜV Certification

C/C++test CT enhances open-source frameworks such as GoogleTest, CppUnit, and custom (home-grown) framework, without changing how teams work.

It integrates directly into existing test frameworks to add structural coverage (statement, branch, MC/DC), advanced reporting, CI/CD automation, and requirements traceability, without changing how tests are written or executed. TÜV SÜD certification extends to GoogleTest-based unit testing for standards such as ISO 26262, IEC 61508, IEC 62304, and EN 50128, reducing the effort required for safety-critical compliance.

Existing test assets are fully supported, enabling teams to scale without abandoning open-source investments.

Benefit From the Parasoft Approach

Realistic Test Cases

Unlike tools that store test inputs in proprietary formats, both C/C++test and C/C++test CT generate test cases as source code, with parameter values initialized in the same way as in production. This ensures tests closely reflect real-world behavior, making them well-suited for safety-critical software verification.

Time-Saving Qualification Kits

Industry-specific qualification kits, along with TÜV SÜD certification, dramatically reduce the effort required to achieve tool qualification across safety-critical standards including ISO 26262, ISO 21434, DO-178B/C, IEC 61508, and EN 50716.

Learn More

Easily Switch Between Isolation and Integration

Parasoft C/C++ testing solutions allow seamless switching between isolated (stubbed) and integration testing using the same test cases, enabling easy result comparison across multiple conditions with minimal reconfiguration.

Image of two men and a woman having a conversation, smiling, and looking at a computer screen.

Deliver safe, secure, reliable, and compliant C and C++ code with Parasoft C/C++test.

Start Free Trial