Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! Learn more →
Top 5 C++ test-framework 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....
-
JetBrains
Tell us how you use coding tools. You may win a prize! Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
-
xtd
Free open-source modern C++20 framework to create console (CLI), forms (GUI like WinForms) and unit test (xUnit) applications and libraries on Windows, macOS, Linux, iOS, Android, FreeBSD, and Haiku.
-
-
-
Project mention: Mix Assertion, Logging, Unit Testing and Fuzzing with ZeroErr Framework | news.ycombinator.com | 2024-09-23
-
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.
C++ test-framework discussion
C++ test-framework related posts
-
Functional Tests as a Tree of Continuations
-
C++ Comparison Operator Craziness
-
How can I check the execution time of a program rendered in SFML?
-
Semi crise existentielle de développeur
-
`DestroyJavaVM()` failing on OpenJ9?
-
[Cpp] Comment testez-vous la couverture du code C ++? Y a-t-il des solutions multiplateforme viables?
-
How do you use the Catch testing library?
-
A note from our sponsor - Sevalla
sevalla.com | 1 Sep 2025