upp11
C++11 lightweight single header unit test framework (by DronMDF)
FakeIt
C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking. (by eranpeer)
upp11 | FakeIt | |
---|---|---|
- | 2 | |
8 | 1,243 | |
- | - | |
0.0 | 0.0 | |
about 8 years ago | 4 months ago | |
C++ | C++ | |
GNU General Public License v3.0 only | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
upp11
Posts with mentions or reviews of upp11.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning upp11 yet.
Tracking mentions began in Dec 2020.
FakeIt
Posts with mentions or reviews of FakeIt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-19.
-
A tutorial on unit tests in C++ using Google Test (GTest) and Google Mock (GMock)
fakeit is awesome, have you tried it? it's almost like using a ruby mocking framework https://github.com/eranpeer/FakeIt
-
Unit testing and mocking for c++
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?
When comparing upp11 and FakeIt you can also consider the following projects:
trompeloeil - Header only C++14 mocking framework
catch2-with-gmock - Exmaple of using Catch2 with GMock
KmTest - Kernel-mode C++ unit testing framework in BDD-style
Minctest - tiny unit testing framework for ANSI C
Hippomocks
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
Boost - Super-project for modularized Boost
OpenFrameworks - openFrameworks is a community-developed cross platform toolkit for creative coding in C++.