Cgreen: C unit testing framework
Cgreen is a C unit tester written in pure C99. Features…
1) Composite test suites.
2) setup() and teardown().
3) Each test runs in its own process.
4) A single test runs in the current process for easy debugging.
5) Ability to easily mock functions.
6) The reporting can be easily changed.
Released as open source under LGPL.
link






