Re:Unit Testing in Linux and Multiplatform doesn't have to suck
by Game_Ender on Wednesday June 29, 2011 @10:32AM
(#2709582)
The ideas here are interesting, but they are going to need much better documentation to prove to me they provide $600 worth of value. For now I will stick with Boost Test which is a simple to use cross platform C++ unit testing library, and it definitely doesn't suck: http://www.boost.org/doc/libs/release/libs/test/doc/html/ind...
Re:Unit Testing in Linux and Multiplatform doesn't have to suck
by aerique on Wednesday June 29, 2011 @09:34AM
(#2709404)
I can't report on this, but assuming you need a unit test package for C++ I can tell you that UnitTest++[1] was very easy to pick up for me (after not having done any C++ for 10+ years).
Neither of these suck nor are they tied to a single platform.
¹ http://cxxtest.tigris.org/
² http://code.google.com/p/googletest/
Isolator++ is a mocking framework that works with any xTesting framework, such as CxxTest or GoogleTest.
Why don't you download the free trial and tell what you think http://www.typemock.com/isolatorpp-product-page
EDIT: I found the better documentation: http://docs.typemock.com/Isolatorpp/Default.aspx##ippHelp.ch... They have a seemingly magic way of hooking already existing classes allowing you to mock out methods without manual subclassing.
Anyone used this and can report how well it works?
[1] http://unittest-cpp.sourceforge.net/