cmocker
cmocker is a stub generator for the C programming language
Find it difficult to test the necessary path in your C code? Use cmocker to generate a test harness allowing you to quickly setup your tests.
cmocker has only been tested on unix platforms (solaris, linux, MacOS) and works with the gnu compiler and gdbm installed.