Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Build Status Join the chat at https://gitter.im/lpabon/cmockery2

Cmockery tests are compiled into a stand-alone executable and linked with the cmockery library, the standard C library and module being tested. Any symbols external to the module being tested should be mocked - replaced with functions that return values determined by the test - within the test application. Even though significant differences may exist between the target execution environment of a code module and the environment used to test the code the unit testing is still valid since its goal is to test the logic of a code modules at a functional level and not necessarily all of its interactions with the target execution environment.

Other features:

  • Lightweight C Unit test with mocking support
  • JUnit XML report output which can be used with Jenkins
  • Provides design-by-contract support

This project is a successor of http://code.google.com/p/cmockery-staging/ which is a successor of Google's http://code.google.com/p/cmockery/.

Documentation

Presentations

About

Reviving cmockery unit test framework from Google

Resources

License

Packages

No packages published
You can’t perform that action at this time.