A lot has been said about unit testing à la JUnit in C++; the most interesting article about the subject is without any doubt Exploring the C++ Unit Testing Framework Jungle, By Noel Llopis, with a thorough comparison of the most important C++ unit testing frameworks out there:
While I won’t go into much detail about his article, I think that the only aspect that Noel forgot in his analysis is the cross-platform capabilities of these frameworks. And that is precisely the aspect that I was looking for while choosing a unit testing framework for a personal project: I needed it to work seamlessly in Ubuntu, Mac OS X and Windows.