Cmockery Unit Testing Framework

Contents
Cmockery is a lightweight library that is used to author C unit tests.
Overview
Cmockery tests are compiled into stand-alone executables and linked with
the Cmockery library, the standard C library, and the 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.
It may not be possible to compile a module into a test application without
some modification; therefore, the preprocessor symbol UNIT_TESTING should