|3 months ago||3 months ago|
|Mozilla Public License 2.0||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
We haven't tracked posts mentioning KmTest yet.
Tracking mentions began in Dec 2020.
Unit testing and mocking for c++
6 projects | /r/cpp | 19 Oct 2021
Coming from googletest/googlemock, I found FakeIt to be a rabbit hole. In particular, I recall not being able to match const reference parameters or something strange like that -- the matcher values would dangle I think. Ah yes, this issue here: https://github.com/eranpeer/FakeIt/issues/108.
What are some alternatives?
catch2-with-gmock - Exmaple of using Catch2 with GMock
trompeloeil - Header only C++14 mocking framework
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
upp11 - C++11 lightweight single header unit test framework
Minctest - tiny unit testing framework for ANSI C
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)
ut - UT: C++20 μ(micro)/Unit Testing Framework