C++ Testing

Open-source C++ projects categorized as Testing | Edit details

Top 14 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: MicroService Framework in C++ | dev.to | 2022-05-24

    $ git clone https://github.com/catchorg/Catch2.git $ cd Catch2 $ cmake -Bbuild -H. -DBUILD_TESTING=OFF $ sudo cmake --build build/ --target install

  • doctest

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

    Project mention: how can I improve my connect4 board class? | reddit.com/r/cpp_questions | 2022-05-28

    Write some tests. They can find bugs early and give you confidence that your code works so far. That doesn't have to be anything fancy, e.g. with doctest:

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • FakeIt

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

    Project mention: A tutorial on unit tests in C++ using Google Test (GTest) and Google Mock (GMock) | reddit.com/r/cpp | 2022-01-14

    fakeit is awesome, have you tried it? it's almost like using a ruby mocking framework https://github.com/eranpeer/FakeIt

  • pict

    Pairwise Independent Combinatorial Tool

    Project mention: Automatically reduce test cases using pairwise methods | dev.to | 2022-03-03
  • ut

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

    Project mention: Getting started with Boost in 2022 | reddit.com/r/cpp | 2022-04-14

    https://github.com/boost-ext/ut from Kris Jusiak is worth checking

  • trompeloeil

    Header only C++14 mocking framework

    Project mention: Unit testing and mocking for c++ | reddit.com/r/cpp | 2021-10-19

    I usually use doctest with trompeloeil.

  • cryptofuzz

    Fuzzing cryptographic libraries. Magic bug printer go brrrr.

    Project mention: Java ECDSA trivial signature bypass | reddit.com/r/crypto | 2022-04-20

    There is also the cryptofuzz

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • Hippomocks

  • KmTest

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

  • dumbmutate

    Simple mutation-testing

    Project mention: New version of dumbmutate, a simple mutation-testing tool (like "fuzz-testing for unit-tests") | reddit.com/r/programming | 2021-08-01
  • DrMock

    C++ testing and mocking framework

    Project mention: DrMock: open-source testing/mocking framework | reddit.com/r/cpp | 2021-08-18
  • tst

    C++ xUnit-like testing framework without macros

  • upp11

    C++11 lightweight single header unit test framework

  • AE405-Thrust_Stand

    Aero 405 Thrust Stand Project

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). The latest post mention was on 2022-05-28.

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 15,125
2 doctest 3,911
3 FakeIt 959
4 pict 899
5 ut 853
6 trompeloeil 617
7 cryptofuzz 377
8 Hippomocks 174
9 KmTest 38
10 dumbmutate 29
11 DrMock 15
12 tst 8
13 upp11 8
14 AE405-Thrust_Stand 1
Find remote jobs at our new job board 99remotejobs.com. There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com