C++ testing-framework

Open-source C++ projects categorized as testing-framework

Top 6 C++ testing-framework Projects

testing-framework
  1. 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

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

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

  4. utest.h

    🧪 single header unit testing framework for C and C++

  5. TDD

    See while you code

  6. testo

    End-to-end-tests automation framework

  7. tst

    C++ xUnit-like testing framework without macros

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++ testing-framework discussion

Log in or Post with

C++ testing-framework related posts

  • [C++20][safety] static_assert is all you need (no leaks, no UB)

    3 projects | /r/cpp | 10 Apr 2023
  • How to unit test

    8 projects | /r/cpp_questions | 9 Feb 2022
  • Another C++ unit testing framework without macros

    6 projects | /r/cpp | 16 Apr 2021

Index

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

# Project Stars
1 doctest 6,143
2 ut 1,312
3 utest.h 884
4 TDD 25
5 testo 22
6 tst 16

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?