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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS 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

Index

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

Project Stars
1 Catch 17,995
2 doctest 5,574
3 wtf 1,349
4 ut 1,197
5 pict 1,196
6 FakeIt 1,194
7 trompeloeil 781
8 utest.h 765
9 mull 702
10 cryptofuzz 655
11 imgui_test_engine 361
12 fuzzuf 352
13 snitch 229
14 faker-cxx 192
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