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 |
---|---|---|---|---|---|
Website | google.com/... | boost.org/... | launchpad.net/... | microsoft.com/... | github.com/... |
Professionally developed | Yes | Yes | Yes | Yes | |
Maintained | Yes | Yes | No | Yes | Yes |
XML Output | Yes | Yes | Yes | Yes .trx output | |
Death tests | Yes | - | No | No | |
Test fixtures | Yes | Yes | Yes | Yes | |
Automated registration of tests | Yes | Yes | Yes | Yes | |
Disable tests | Yes | - NCBI extension has support for this | No | Yes | |
Rich set of built-in asserts | Yes | - | - Somewhat | - | |
Custom asserts | Yes | Yes | Yes | Yes | |
Non-fatal assertions | Yes EXPECT_* | Yes | No | No | |
Crash handling | Yes Windows SEH | - ? | No Custom | Yes Windows SEH | |
GUI Runner | Yes gtest-gbar | - QxRunner? | Yes QxCppUnit | Yes VS integrated | No |
Mock framework | Yes 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!!