C++ unit testing framework

Business > IT development > Frameworks
2016-12-02 03:22:02
Compare GoogleTest vs Boost Test vs CppUnit vs VSCppUnit
GoogleTestBoost TestCppUnitVSCppUnitCatch
Professionally developedYesYesYesYes
XML OutputYesYesYesYes .trx output
Death testsYes-NoNo
Test fixturesYesYesYesYes
Automated registration of testsYesYesYesYes
Disable testsYes- NCBI extension has support for thisNoYes
Rich set of built-in assertsYes-- Somewhat-
Custom assertsYesYesYesYes
Non-fatal assertionsYes EXPECT_*YesNoNo
Crash handlingYes Windows SEH- ?No CustomYes Windows SEH
GUI RunnerYes gtest-gbar- QxRunner?Yes QxCppUnitYes VS integratedNo
Mock frameworkYes GoogleMock- 3rd party- 3rd party- 3rd party
Latest version04/2011200711/200920122016-06-09: v1.5.6
LicenseNew BSD licenseBoost LicenseGNU LGPL v3Microsoft Proprietary


  • Moyen
    Français Posted 2016-12-02 03:23:12 by jbeli Taha
  • Posted 2016-12-02 03:22:10 by jbeli Taha
  • Nice comparison. How well the "Catch" test framework fares in this comparison?
    Posted 2016-06-29 11:58:59 by vik
  • voted for this Comparison (Like)
    Posted 2015-07-25 10:06:51 by Seralo
  • voted for this Comparison (Like)
    Posted 2015-07-25 02:49:49 by Ryan Niehaus
  • Gives a really nice comparison. I guess the only one available right now. Thanks a ton!!
    Posted 2012-05-24 23:47:57 by Prasad Korhale
  • voted for this Comparison (Like)
    Posted 2012-02-24 07:16:58 by ml

Leave a comment

Register Sign in