CMock
CMock Project Hosting has Moved to GitHub
Description
CMock is a module/object mocking framework for C projects. It generates dummy modules that conform to the interface specified in a header file. This allows APIs to be proven out and exercised before committing to an underlying implementation.
CMock project hosting has moved to GitHub under the ThrowTheSwitch Organization: https://github.com/ThrowTheSwitch/CMock
http://throwtheswitch.org contains extensive content and support for CMock and other awesome tools.
Categories
License
Update Notifications
User Ratings
User Reviews
-
cmock works nicely
-
Great app
-
I went through alot of unit testing frameworks for C, with special concerns towards embedded systems during my bachelor thesis. I chose CMock (1.2.2) in conjunction with Unity, and CruiseControl.rb as the best testing framework being both handy and adaptable for the special needs embedded systems have. But frankly what made my decision was CMocks automations via ruby scripts and the unique mocking technique for the C programming language. Thank you for CMock and Unity! I am looking forward to some embedded projects with the upcoming 2.0! PS: I just can't describe the usefulness of mocking in C for unit testing - testing became so much more comfortable.
-
Should I be reviewing this as one of the primary authors? Probably not... but I have to say: I use this every day and it has made my life so much easier. I hate working in C without it, now.
-
CMock makes unit testing MUCH more tolerable and allows me to explore and tweak APIs to other modules before committing to them and implementing the external modules
-
gracias