4 ms·
Unit Testing in Linux and Multiplatform doesn't have to suck
- wccrawford 15y agoI 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?
- telma1234 15y agoFeel free to download it and try it out http://www.typemock.com/isolatorpp-product-page http://www.typemock.com/isolatorpp-product-page
- aerique 15y agoI 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/ http://unittest-cpp.sourceforge.net/
- sorbits 15y agoI use CxxTest¹ but there is also GoogleTest². Neither of these suck nor are they tied to a single platform. ¹ http://cxxtest.tigris.org/ http://cxxtest.tigris.org/ ² http://code.google.com/p/googletest/ http://code.google.com/p/googletest/
- deleted 15y ago[deleted]
- telma1234 15y agoThose 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 http://www.typemock.com/isolatorpp-product-page
- Game_Ender 15y agoThe 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/index.html 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.chm/introduction.htm 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.
- telma1234 15y agoAbsolutely. 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 http://www.typemock.com/isolatorpp-product-page