cpputest 4.0 Unit testing and mocking framework for C/C++

CppUTest is a C/C++ based unit xUnit test framework. It is written in C++ but is used in C and C++ projects and frequently used in embedded systems but it works for any C/C++ project.