开发者

unit test in c++ [duplicate]

开发者 https://www.devze.com 2023-02-14 01:04 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicates: C++ testing framework: recommendation sought
This question already has answers here: Closed 11 years ago.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号