I really like google test . It has all the best features of the latest unit test frameworks, while preserving everything in a minimal stream interface.
Next on my list is the Boost Test . The Google api test is a bit more modern than Boost.Test, but the Boost Test did an amazing job of adding new features and breaking the CppUnit paradigm with brutality.
I also used CxxTest . This is pretty well done, but you can say that it is not as modern as Boost.Test or Google Test. In particular, its support for test suites and gadgets is a bit inconvenient.
I like to use advanced features, but if you are minimalist, you will never see the difference between the three. Most of my colleagues would be happy with the unit test infrastructure, which supports automatic registration test (declaratively) and has a kind of macro CHECK_EQUALS(a,b) .
deft_code
source share