3

Possible Duplicates:
C++ testing framework: recommendation sought
C++ unit testing framework

Hello,

which unit test framework do you recommend for c++ ?

Thanks

Community
  • 1
  • 1
Guillaume Paris
  • 9,916
  • 14
  • 65
  • 136

4 Answers4

3

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/)

Paolo Brandoli
  • 4,572
  • 24
  • 37
2

google test http://code.google.com/p/googletest/

Keith Nicholas
  • 42,517
  • 15
  • 87
  • 149
2

Unittest++ : http://unittest-cpp.sourceforge.net/

Xavier V.
  • 5,590
  • 5
  • 27
  • 35
0

See this,

http://www.boost.org/doc/libs/1_34_0/libs/test/doc/index.html

Boost Test Library

Karthick K
  • 55
  • 1
  • 6