CMock

CMock Project Hosting has Moved to GitHub

11 Recommendations
16 Downloads (This Week)
Last Update:
Download cmock_2_0_204.zip
Browse All Files

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.

CMock Web Site

Categories

Build Tools, Frameworks, Testing

License

MIT License

Update Notifications





User Ratings

 
 
11
0
Write a Review

User Reviews

  • Posted by ryan peck 2012-09-19

    cmock works nicely

  • Posted by Zack Sawyer 2009-12-08

    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.

  • Posted by Mark VanderVoord 2009-11-03

    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.

  • Posted by Greg Williams 2009-11-03

    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

  • Posted by Adrian 2013-02-17

    gracias

Read more reviews

Additional Project Details

Intended Audience

Developers

Programming Language

C

Registered

2008-05-11

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.