mocxx
A versatile C++ function mocking framework. (by Guardsquare)
utest.h
🧪 single header unit testing framework for C and C++ (by sheredom)
mocxx | utest.h | |
---|---|---|
1 | 4 | |
121 | 768 | |
3.3% | - | |
10.0 | 7.0 | |
over 1 year ago | 26 days ago | |
C++ | C++ | |
GNU General Public License v3.0 only | The Unlicense |
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.
mocxx
Posts with mentions or reviews of mocxx.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Unit testing without using interfaces everywhere?
We do use something similar to Mocxx: https://github.com/Guardsquare/mocxx such that we don't need to make wrappers for certain things.
utest.h
Posts with mentions or reviews of utest.h.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-29.
-
GitHub - Snaipe/Criterion: A cross-platform C and C++ unit testing framework for the 21st century
Doesn't really have CMake integration, which is a big downer. You could try utest.h, which is a pretty minimal (as the name suggests), but featureful testing library. It still needs you to declare the main, but is that really such a problem?
-
Testing in C
the header-only https://github.com/sheredom/utest.h might be worth a shot if you trying to keep things compact.
-
Open Source C
Sprinkle your console apps with UTEST test's.