Ceedling VS CMock

Compare Ceedling vs CMock and see what are their differences.

Ceedling

Ruby-based unit testing and build system for C projects (by ThrowTheSwitch)

CMock

CMock - Mock/stub generator for C (by ThrowTheSwitch)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Ceedling CMock
3 1
557 639
1.6% 2.5%
3.3 3.8
7 days ago 25 days ago
Ruby C
GNU General Public License v3.0 or later 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.

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
    9 projects | /r/embedded | 15 Jan 2023
    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?
    3 projects | /r/cpp | 15 Dec 2022
    throwtheswitch.org tools are pretty interesting. They focus on C, but support C++ as well.
  • “Static Linking Considered Harmful” Considered Harmful
    5 projects | news.ycombinator.com | 3 Oct 2021
    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...

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.

What are some alternatives?

When comparing Ceedling and CMock you can also consider the following projects:

oasis - a small statically-linked linux system

interrupt - A community for embedded software makers.

go - The Go programming language

panda - code powering the comma.ai panda

robotic-hid - A human interface device for mechatronic systems

test

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

RIOT - RIOT - The friendly OS for IoT

house2