I am the author and maintainer of an open source unit test framework for C, C++ and Objective-C called CATCH. CATCH stands for C++ Automated Test Cases in Headers. In fact for most purposes you can use the single-header version of it. CATCH is hosted on GitHub where the source code, as well as wiki documentation, can be found here: