Skip to content
CMock - Mock/stub generator for C
Branch: master
Clone or download
mvandervoord Merge pull request #198 from Xenoamor/master
Fix bug where if folder "mocks" doesn't exist it fails
Latest commit 4b35cb2 Mar 22, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Grammar fix--"fewer times", not "less times" Mar 2, 2019
examples Add examples to the automated testing in travis. Make err-on-fail opt… Apr 8, 2017
lib Merge pull request #198 from Xenoamor/master Mar 22, 2019
release Update to latest Unity and Post as release Nov 14, 2017
scripts fix for mock prefix & suffix filter Dec 7, 2017
src Grammar fix--"fewer times", not "less times" Mar 2, 2019
test Update unit tests Mar 22, 2019
vendor Grab latest unity to test as next release candidate Aug 8, 2018
.gitignore add .swp (vim swap files) to git ignore list Oct 14, 2016
.travis.yml adjusted travis to use ruby 2.3 to make OSX build pass Mar 20, 2019
Gemfile - fixed license to make it standard MIT license. Dec 16, 2014
LICENSE.txt Move license for GitHub detection Nov 14, 2018 Add "cd test" to for running rake Jul 18, 2018

CMock - Mock/stub generator for C

CMock Build Status

Getting Started

If you're using Ceedling, there is no need to install CMock. It will handle it for you. For everyone else, the simplest way is to grab it off github. You can also download it as a zip if you prefer. The Github method looks something like this:

> git clone --recursive
> cd cmock
> bundle install # Ensures you have all RubyGems needed

If you plan to help with the development of CMock (or just want to verify that it can perform its self tests on your system) then you can enter the test directory and then ask it to test:

> cd test
> rake # Run all CMock self tests

API Documentation

You can’t perform that action at this time.