C++ Testing

Open-source C++ projects categorized as Testing

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)

  • Project mention: C++ Comparison Operator Craziness | news.ycombinator.com | 2024-02-12
  • doctest

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

  • Project mention: Unit testing tool suggestions | /r/learnprogramming | 2023-05-07

    I have never used "tools" for unit-tests, only web sites that show the results of the tests or code coverage. For C++ I prefer https://github.com/doctest/doctest but most companies I worked for use Catch2.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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)

  • ut

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

  • pict

    Pairwise Independent Combinatorial Tool

  • FakeIt

    C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking.

  • trompeloeil

    Header only C++14 mocking framework

  • SaaSHub

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

    SaaSHub logo
  • utest.h

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

  • mull

    Practical mutation testing and fault injection for C and C++

  • cryptofuzz

    Fuzzing cryptographic libraries. Magic bug printer go brrrr.

  • imgui_test_engine

    Dear ImGui Automation Engine & Test Suite

  • Project mention: Dear ImGui: Bloat-free Graphical User interface with minimal dependencies | news.ycombinator.com | 2023-12-20

    Good Testing/Automation is never free lunch AFAIK but Dear ImGui has a testing/automation system: https://github.com/ocornut/imgui_test_engine

  • fuzzuf

    Fuzzing Unification Framework

  • snitch

    Lightweight C++20 testing framework. (by snitch-org)

  • Project mention: The snitch v1.1 testing framework is out -- now with full constexpr testing | /r/cpp | 2023-05-13
  • faker-cxx

    C++ Faker library for generating fake (but realistic) data.

  • Project mention: C++20 Faker library | /r/cpp | 2023-11-08
  • Hippomocks

  • mocxx

    A versatile C++ function mocking framework.

  • KmTest

    Kernel-mode C++ unit testing framework in BDD-style

  • clean-test

    A modern C++-20 testing framework.

  • dumbmutate

    Simple mutation-testing

  • TDD

    See while you code

  • DrMock

    C++ testing and mocking framework

  • tst

    C++ xUnit-like testing framework without macros

  • upp11

    C++11 lightweight single header unit test framework

  • 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++ Testing related posts

  • C++ Comparison Operator Craziness

    1 project | news.ycombinator.com | 12 Feb 2024
  • Most "secure/private" browser that is still somewhat mainstream/compatible?

    2 projects | /r/browsers | 6 Dec 2023
  • How can I check the execution time of a program rendered in SFML?

    3 projects | /r/cpp_questions | 5 Dec 2023
  • Building Reddit’s Design System on iOS

    5 projects | /r/RedditEng | 27 Sep 2023
  • Semi crise existentielle de développeur

    1 project | /r/QuebecTI | 7 Jun 2023
  • Distcc: A fast, free distributed C/C++ compiler

    11 projects | news.ycombinator.com | 1 Jun 2023
  • The snitch v1.1 testing framework is out -- now with full constexpr testing

    1 project | /r/cpp | 13 May 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 3 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 Catch 18,020
2 doctest 5,594
3 wtf 1,351
4 ut 1,200
5 pict 1,201
6 FakeIt 1,199
7 trompeloeil 781
8 utest.h 768
9 mull 703
10 cryptofuzz 653
11 imgui_test_engine 365
12 fuzzuf 352
13 snitch 230
14 faker-cxx 194
15 Hippomocks 190
16 mocxx 121
17 KmTest 48
18 clean-test 47
19 dumbmutate 42
20 TDD 24
21 DrMock 16
22 tst 13
23 upp11 8

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com