CuTest lets you write unit tests for your C code. You should use it because: (1) It has the cutest name, (2) It looks and feels like JUnit, (3) It is cross-platform, (4) It ships in a single .c and .h file for ease of deployment.
ORUnit is a simple framework for writing and running automated tests, written in the CA-OpenROAD programming language. It is modelled after JUnit, the unit testing framework written in Java by Kent Beck and Erich Gamma.
Automation unit testing tool for C & C++ on Linux platform
...Two major sections of the testing area like memory management and code coverage is accomplished by open source tools, such as,
• Valgrind -- Memory Management
• Lcov -- Code Coverage
• splint -- Static Code Analysis
2. Supported Platform
• Linux operatingsystem on Intel x86 architecture
• Linux operatingsystem on Intel x86_64 architecture