I really like Google Test, but am planning on doing some embedded development in C, where I sometimes find it awkward to test C code using a C++ library.<p>Therefore, I wrote a small unit test library closely mimicking Google Test. It consists of two source files, "rktest.c" and "rktest.h", and is about 1k lines of code and written in C99.<p>It uses a trick for self registering tests by placing pointers to the unit test functions into a known place in program memory, that I first learned about from <a href="https://github.com/christophercrouzet/rexo/">https://github.com/christophercrouzet/rexo/</a> and <a href="https://github.com/Snaipe/Criterion/">https://github.com/Snaipe/Criterion/</a>.