GTest Vs CppUnit
GTest Vs CppUnit
CppUnit framework was old and mostly used for small tests and it didn't support much feature
disable a particular test, one and only advantage is that it requeries less libraries as compa
suitable for TDD(Test Driven Development) evironment. CppUnit still requires RTTI, the STL
world to require that, but it could be problematic if you want to link against libraries that have n
STL. CppUnit requires lot of typing o add new test and the relative complexity of the source
different platforms.
Page 1
Sheet1
CppUnit frameworks
CppUnit
yes
yes
yes
yes
yes
yes
yes
no
no
somewhat
no
no
no
no
no
possible by using 3rd party
dn't support much features, and it is quite difficult to add new tests and to
s less libraries as compared to Gtest but efiiciency wise Gtest was best
l requires RTTI, the STL, and exception handling. It’s not the end of the
ainst libraries that have no RTTI enabled, or if you don’t want to pull in the
complexity of the source code, which could make it challenging to port to
verflow.com/questions/7922289/googletest-vs-cppunit-the-facts
Page 2