Possible Duplicates:
C++ testing framework: recommendation sought C++ unit testing framework
Hello,
which 开发者_运维知识库unit test framework do you recommend for c++ ?
Thanks
In the past I was using CppUnit(http://sourceforge.net/apps/mediawiki/cppunit/index.php?title=Main_Page), but now I prefer the Boost test library (http://www.boost.org/doc/libs/1_46_0/libs/test/doc/html/index.html).
Lately I also use QTest (part of the Qt framework) also for my non-Qt projects (http://qt.nokia.com/products/)
google test http://code.google.com/p/googletest/
Unittest++ : http://unittest-cpp.sourceforge.net/
See this,
http://www.boost.org/doc/libs/1_34_0/libs/test/doc/index.html
Boost Test Library
精彩评论