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
  • 10,303
  • 14
  • 70
  • 145

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,681
  • 26
  • 38
2

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

Keith Nicholas
  • 43,549
  • 15
  • 93
  • 156
2

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

Xavier V.
  • 6,068
  • 6
  • 30
  • 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