News for hackers. Stuff that matters.
Re:Unit Testing in Linux and Multiplatform doesn't have to suck by sorbits on Wednesday June 29, 2011 @09:14AM (#2709341)
I use CxxTest¹ but there is also GoogleTest².

Neither of these suck nor are they tied to a single platform.

 

¹ http://cxxtest.tigris.org/

² http://code.google.com/p/googletest/

Re:Unit Testing in Linux and Multiplatform doesn't have to suck by telma1234 on Thursday June 30, 2011 @06:36AM (#2713386)
Those are great testing frameworks.

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

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...

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.

Re:Unit Testing in Linux and Multiplatform doesn't have to suck by telma1234 on Thursday June 30, 2011 @06:37AM (#2713387)
Absolutely. Feel free as well to try it out and blog your thoughts or some tips on how to get started http://www.typemock.com/isolatorpp-product-page
Re:Unit Testing in Linux and Multiplatform doesn't have to suck by wccrawford on Wednesday June 29, 2011 @08:40AM (#2709236)
I haven't done any C++ in quite some time. Unit Tests would be a must-have at this point.

Anyone used this and can report how well it works?

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).

[1] http://unittest-cpp.sourceforge.net/

Re:Unit Testing in Linux and Multiplatform doesn't have to suck by telma1234 on Wednesday June 29, 2011 @09:14AM (#2709342)
Feel free to download it and try it out http://www.typemock.com/isolatorpp-product-page