cpputest/cpputest
CppUTest unit testing and mocking framework for C/C++ observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 95
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5144
- days_rel: n/a
- days_push: 34
- n_releases_24m: 0
Adoption not part of the score
1480 stars · 530 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
CppUTest is a C/C++ xUnit-style unit testing and mocking framework, written in C++ but usable from both C and C++ projects. It is designed for test-driven development, includes a built-in memory leak detector, and is especially popular in embedded systems work.
Use cases
- unit test c code
- unit testing framework for c++
- mocking framework for embedded c
- detect memory leaks in c++ tests
- test-driven development for embedded c
- test legacy c code in a harness
When to choose
- You are doing TDD in C or C++, especially on embedded or resource-constrained platforms
- You need built-in memory leak detection and mocking in a lightweight xUnit framework
- You need portability to old compilers and platforms
When to avoid
- You prefer a modern C++ framework with rich assertion APIs like Catch2 or GoogleTest
- Your project is not C/C++
Facets
library · maturity stable
testing mocking testing developer-tools embedded-systems windows cpp c cross-platform unit-testing xunit test-driven-development memory-leak-detection embedded linux macos
2 sources
- readme: https://github.com/cpputest/cpputest · fetched 2026-08-28 · ab3bd688ff4c
- homepage: http://cpputest.github.io · fetched 2026-08-29 · 618015c743fb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cpputest/cpputest | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="cpputest/cpputest")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem