C++ unit testing framework
J'aime 4
Compare GoogleTest vs Boost Test vs CppUnit vs VSCppUnit
Compare GoogleTest vs Boost Test vs CppUnit vs VSCppUnit
Lien | GoogleTest | Boost Test | CppUnit | VSCppUnit | Catch |
---|---|---|---|---|---|
Site web | google.com/... | boost.org/... | launchpad.net/... | microsoft.com/... | github.com/... |
Professionally developed | Oui | Oui | Oui | Oui | |
Maintained | Oui | Oui | Non | Oui | Oui |
XML Output | Oui | Oui | Oui | Oui .trx output | |
Death tests | Oui | - | Non | Non | |
Test fixtures | Oui | Oui | Oui | Oui | |
Automated registration of tests | Oui | Oui | Oui | Oui | |
Disable tests | Oui | - NCBI extension has support for this | Non | Oui | |
Rich set of built-in asserts | Oui | - | - Somewhat | - | |
Custom asserts | Oui | Oui | Oui | Oui | |
Non-fatal assertions | Oui EXPECT_* | Oui | Non | Non | |
Crash handling | Oui Windows SEH | - ? | Non Custom | Oui Windows SEH | |
GUI Runner | Oui gtest-gbar | - QxRunner? | Oui QxCppUnit | Oui VS integrated | Non |
Mock framework | Oui GoogleMock | - 3rd party | - 3rd party | - 3rd party | |
Dernière version | 04/2011 | 2007 | 11/2009 | 2012 | 2016-06-09: v1.5.6 |
Licence | New BSD license | Boost License | GNU LGPL v3 | Microsoft Proprietary |
Avis utilisateurs et commentaires
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!!