C++ unit testing framework
Likes 4
Compare GoogleTest vs Boost Test vs CppUnit vs VSCppUnit
Compare GoogleTest vs Boost Test vs CppUnit vs VSCppUnit
Link | GoogleTest | Boost Test | CppUnit | VSCppUnit | Catch |
---|---|---|---|---|---|
Webseite | google.com/... | boost.org/... | launchpad.net/... | microsoft.com/... | github.com/... |
Professionally developed | Ja | Ja | Ja | Ja | |
Maintained | Ja | Ja | Nein | Ja | Ja |
XML Output | Ja | Ja | Ja | Ja .trx output | |
Death tests | Ja | - | Nein | Nein | |
Test fixtures | Ja | Ja | Ja | Ja | |
Automated registration of tests | Ja | Ja | Ja | Ja | |
Disable tests | Ja | - NCBI extension has support for this | Nein | Ja | |
Rich set of built-in asserts | Ja | - | - Somewhat | - | |
Custom asserts | Ja | Ja | Ja | Ja | |
Non-fatal assertions | Ja EXPECT_* | Ja | Nein | Nein | |
Crash handling | Ja Windows SEH | - ? | Nein Custom | Ja Windows SEH | |
GUI Runner | Ja gtest-gbar | - QxRunner? | Ja QxCppUnit | Ja VS integrated | Nein |
Mock framework | Ja GoogleMock | - 3rd party | - 3rd party | - 3rd party | |
Latest version | 04/2011 | 2007 | 11/2009 | 2012 | 2016-06-09: v1.5.6 |
License | New BSD license | Boost License | GNU LGPL v3 | Microsoft Proprietary |
User reviews and comments
Moyen
Nice comparison. How well the "Catch" test framework fares in this comparison?
Gives a really nice comparison. I guess the only one available right now. Thanks a ton!!