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)
$ git clone https://github.com/catchorg/Catch2.git $ cd Catch2 $ cmake -Bbuild -H. -DBUILD_TESTING=OFF $ sudo cmake --build build/ --target install
-
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.
-
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
-
-
https://github.com/boost-ext/ut from Kris Jusiak is worth checking
-
I usually use doctest with trompeloeil.
-
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.
-
-
Project mention: New version of dumbmutate, a simple mutation-testing tool (like "fuzz-testing for unit-tests") | reddit.com/r/programming | 2021-08-01
-
-
-
-
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 |
Are you hiring? Post a new remote job listing for free.