Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises Learn more →
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)
```c++ // https://github.com/catchorg/Catch2/tree/Catch1.x // https://github.com/philsquared/Catch/releases/download/v1.12.2/catch.hpp
-
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.
-
Sonar
Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
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. (by 0vercl0k)
-
-
Project mention: How to generate Decision Tables for testing efficiently with Typescript. | dev.to | 2022-09-11
I thought about the current specifications on my own, but after that I learned about the existence of microsoft's tool PICT and the culture of TableDrivenTests. If there seems to be demand, I may change the specifications in the future to make it easier for users familiar with these.
-
Project mention: [C++20][safety] static_assert is all you need (no leaks, no UB) | reddit.com/r/cpp | 2023-04-10
I don't think stepping through static_assert is a thing? Curious if it is, though. Since constexpr is either run-time or compile-time and static_assert is not a poor man's debugging facility could be to -Dstatic_assert(...) assert(__VA_ARGS__) and gdb the code. Alternatively, a more refined solution would be to use an UT framework (for example https://github.com/boost-ext/ut) which helps with that. IMHO, TDD can also limit the requirement of stepping into the code and with gurantees that the code is memory safe and UB safe there is less need for sanitizers and valgrind etc. depending on the coverage.
-
-
ONLYOFFICE
ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
-
Project mention: Am looking for Android app recommendations for these: Spotify , audio & Video cutter/editor , Workout planner & Journal+notes. Any advice is appreciated. | reddit.com/r/fossdroid | 2022-10-15
For bromite Mull + ublock
-
-
-
-
Project mention: The snitch v1.1 testing framework is out -- now with full constexpr testing | reddit.com/r/cpp | 2023-05-13
-
Project mention: Unit testing without using interfaces everywhere? | reddit.com/r/cpp_questions | 2022-11-14
We do use something similar to Mocxx: https://github.com/Guardsquare/mocxx such that we don't need to make wrappers for certain things.
-
-
Project mention: Clean Test: modern C++-20 unit-testing framework | news.ycombinator.com | 2023-03-13
-
-
Project mention: static_assert is all you need (no leaks, no UB) | news.ycombinator.com | 2023-04-10
Keep tests and code separate, and use tdd: https://github.com/yellowdragonlabs/TDD
I usually have dozens/hundreds of tests that run faster than you can compile #include .
All tests are executed automatically every time I save. It's very nice to watch the output while coding, with almost no latency.
-
-
-
-
-
ArdorQuery it is a tool for testing HTTP(s) endpoints (inspired from Postman and cURL) oriented on working from keyboard. If you want to know the purpose of the application, you can check other post. In this post I tell you about important updates happend in new version 0.0.6. You can download the new version from this link.
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
C++ Testing related posts
- Distcc: A fast, free distributed C/C++ compiler
- The snitch v1.1 testing framework is out -- now with full constexpr testing
- Unit testing tool suggestions
- `DestroyJavaVM()` failing on OpenJ9?
- [Cpp] Comment testez-vous la couverture du code C ++? Y a-t-il des solutions multiplateforme viables?
- static_assert is all you need (no leaks, no UB)
- [C++20][safety] static_assert is all you need (no leaks, no UB)
-
A note from our sponsor - ONLYOFFICE
www.onlyoffice.com | 1 Jun 2023
Index
What are some of the best open-source Testing projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | Catch | 16,652 |
2 | doctest | 4,930 |
3 | wtf | 1,146 |
4 | FakeIt | 1,108 |
5 | pict | 1,086 |
6 | ut | 1,035 |
7 | trompeloeil | 708 |
8 | mull | 670 |
9 | utest.h | 642 |
10 | cryptofuzz | 543 |
11 | fuzzuf | 330 |
12 | Hippomocks | 177 |
13 | snitch | 169 |
14 | mocxx | 115 |
15 | KmTest | 47 |
16 | clean-test | 39 |
17 | dumbmutate | 33 |
18 | TDD | 22 |
19 | DrMock | 16 |
20 | tst | 12 |
21 | upp11 | 8 |
22 | AE405-Thrust_Stand | 1 |
23 | ArdorQuery | 1 |