C++ Tdd

Open-source C++ projects categorized as Tdd

Top 5 C++ Tdd Projects

  1. 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)

    Project mention: Functional Tests as a Tree of Continuations | news.ycombinator.com | 2025-03-13

    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....

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. doctest

    The fastest feature-rich C++11/14/17/20/23 single-header testing framework

    Project mention: The Two Factions of C++ | news.ycombinator.com | 2024-11-24

    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

  4. ut

    C++20 μ(micro)/Unit Testing Framework

  5. GUnit

    GUnit - Google.Test/Google.Mock/Cucumber on steroids

  6. TDD

    See while you code

  7. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Tdd discussion

Log in or Post with

C++ Tdd related posts

  • Functional Tests as a Tree of Continuations

    2 projects | news.ycombinator.com | 13 Mar 2025
  • C++ Comparison Operator Craziness

    1 project | news.ycombinator.com | 12 Feb 2024
  • How can I check the execution time of a program rendered in SFML?

    3 projects | /r/cpp_questions | 5 Dec 2023
  • Semi crise existentielle de développeur

    1 project | /r/QuebecTI | 7 Jun 2023
  • Unit testing tool suggestions

    2 projects | /r/learnprogramming | 7 May 2023
  • `DestroyJavaVM()` failing on OpenJ9?

    2 projects | /r/javahelp | 22 Apr 2023
  • [Cpp] Comment testez-vous la couverture du code C ++? Y a-t-il des solutions multiplateforme viables?

    1 project | /r/enfrancais | 21 Apr 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 17 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

What are some of the best open-source Tdd projects in C++? This list will help you:

# Project Stars
1 Catch 19,170
2 doctest 6,133
3 ut 1,312
4 GUnit 266
5 TDD 25

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that C++ is
the 7th most popular programming language
based on number of references?