I had the extreme need of building a C/C++ CGI this weekend and, why not, i wanted it fully covered by tests.
As always, for any need, Google has a solution and, in this case, for my testing needs, Google had Google Test (gtest), a pretty easy to use library that allows you to write test cases (made of assertions) and compile/run them to check the project’s integrity.