C++ unit testing framework
Le gusta 4
Compare GoogleTest vs Boost Test vs CppUnit vs VSCppUnit
Compare GoogleTest vs Boost Test vs CppUnit vs VSCppUnit
Enlace | GoogleTest | Boost Test | CppUnit | VSCppUnit | Catch |
---|---|---|---|---|---|
Sitio web | google.com/... | boost.org/... | launchpad.net/... | microsoft.com/... | github.com/... |
Professionally developed | Sí | Sí | Sí | Sí | |
Maintained | Sí | Sí | No | Sí | Sí |
XML Output | Sí | Sí | Sí | Sí .trx output | |
Death tests | Sí | - | No | No | |
Test fixtures | Sí | Sí | Sí | Sí | |
Automated registration of tests | Sí | Sí | Sí | Sí | |
Disable tests | Sí | - NCBI extension has support for this | No | Sí | |
Rich set of built-in asserts | Sí | - | - Somewhat | - | |
Custom asserts | Sí | Sí | Sí | Sí | |
Non-fatal assertions | Sí EXPECT_* | Sí | No | No | |
Crash handling | Sí Windows SEH | - ? | No Custom | Sí Windows SEH | |
GUI Runner | Sí gtest-gbar | - QxRunner? | Sí QxCppUnit | Sí VS integrated | No |
Mock framework | Sí 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!!