InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more โ
Top 23 C++ Testing Projects
-
Catch
A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
The C++ testing framework Catch2 enables this kind of testing. The first time I saw it I couldn't figure out how some of the tests would even pass.
It turns out that using some evil macro magic, each test re-runs from the start for each inner section [1]. It also makes deduplicating setup code completely painless and natural.
You just have to get over the completely non-standard control flow. It's a good standard bearer for why metaprogramming is great, even if you're forced to do it in C/C++'s awful macro system.
[1] https://github.com/catchorg/Catch2/blob/devel/docs/tutorial....
-
InfluxDB
InfluxDB โ Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
catch2 has become fairly bloated. doctest takes all of the best parts of catch2 without all the bloat and the end result is a test framework that is literally over 10x faster than catch2. It's also like 90% compatible with catch2 so porting your tests to it is pretty easy.
Especially if you have a build process that always runs your unit tests, it's nice to have a very fast test/compile/debug loop.
https://github.com/doctest/doctest
-
wtf
wtf is a distributed, code-coverage guided, customizable, cross-platform snapshot-based fuzzer designed for attacking user and / or kernel-mode targets running on Microsoft Windows and Linux user-mode (experimental!). (by 0vercl0k)
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
-
-
For the second part of my Release 0.3 contribution to the faker-cxx project, I addressed an issue involving the addition of a Continuous Integration (CI) pipeline. The goal was to ensure that any new code pushed to the repository adheres to the clang-format configuration provided in the root folder. This was an exciting opportunity to deepen my understanding of CI/CD workflows, especially since I am actively learning about them.
-
-
-
-
-
-
-
-
-
-
ArdorQuery
ArdorQuery is a cross-platform tool for performing any HTTP(S) endpoints like REST API, HTML, Images, GraphQL, OData etc.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C++ Testing discussion
C++ Testing related posts
-
Functional Tests as a Tree of Continuations
-
You can use C-Reduce for any language
-
Introducing CI Pipeline for Clang-Format Checks in faker-cxx
-
Increasing Code Coverage in faker-cxx
-
Comparing C++ range libraries for filter+reverse case with non-trivial lambda
-
C++ Comparison Operator Craziness
-
Most "secure/private" browser that is still somewhat mainstream/compatible?
-
A note from our sponsor - InfluxDB
www.influxdata.com | 12 Jun 2025
Index
What are some of the best open-source Testing projects in C++? This list will help you:
# | Project | Stars |
---|---|---|
1 | Catch | 19,449 |
2 | doctest | 6,257 |
3 | wtf | 1,621 |
4 | ut | 1,337 |
5 | pict | 1,332 |
6 | FakeIt | 1,288 |
7 | utest.h | 905 |
8 | trompeloeil | 846 |
9 | mull | 770 |
10 | imgui_test_engine | 506 |
11 | fuzzuf | 374 |
12 | faker-cxx | 355 |
13 | snitch | 284 |
14 | Hippomocks | 197 |
15 | mocxx | 130 |
16 | clean-test | 51 |
17 | KmTest | 50 |
18 | dumbmutate | 43 |
19 | TDD | 25 |
20 | tst | 16 |
21 | DrMock | 16 |
22 | upp11 | 9 |
23 | ArdorQuery | 8 |