CMock
CMock - Mock/stub generator for C (by ThrowTheSwitch)
Ceedling
Ruby-based unit testing and build system for C projects (by ThrowTheSwitch)
CMock | Ceedling | |
---|---|---|
1 | 3 | |
644 | 559 | |
1.6% | 1.1% | |
3.2 | 2.9 | |
about 1 month ago | 6 days ago | |
C | Ruby | |
MIT License | GNU General Public License v3.0 or later |
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.
CMock
Posts with mentions or reviews of CMock.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-15.
-
Looking for a GitHub repo which contains unit tests
Another irreplacable summary: 'https://github.com/ThrowTheSwitch/CMock/blob/master/docs/CMock_Summary.md'
Ceedling
Posts with mentions or reviews of Ceedling.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-15.
-
Looking for a GitHub repo which contains unit tests
Unfortunately, our codebase (at work) isn't on a public github account. But I can really recommend throwtheswitch.org.
-
Bare Metal Embedded C++ (14/17) Unit Testing?
throwtheswitch.org tools are pretty interesting. They focus on C, but support C++ as well.
-
“Static Linking Considered Harmful” Considered Harmful
This is very situational, but I have recently been part of a project that does a lot of C server-side development and we have found that static linking our non-glibc dependencies has really improved our developer experience. Using ceedling's dependency plugin[1] and producing a single "statically" linked library has made our C development much closer to using a language with a more modern package manager. Don't get me wrong, if I was trying to distribute binaries to machines I didn't control I'd definitely be willing to invest in the Linux packaging "fun", but for a server-side application it's been a good choice for our team overall.
[1] https://github.com/ThrowTheSwitch/Ceedling/tree/master/plugi...
What are some alternatives?
When comparing CMock and Ceedling you can also consider the following projects:
interrupt - A community for embedded software makers.
oasis - a small statically-linked linux system
panda - code powering the comma.ai panda
go - The Go programming language
robotic-hid - A human interface device for mechatronic systems
amp-embedded-infra-lib - amp-embedded-infra-lib is a set of C++ libraries and headers that provide heap-less, STL like, infrastructure for embedded software development
test
RIOT - RIOT - The friendly OS for IoT
house2