Testing Legacy C++ - Do Yourself A Favour
Let's be honest - testing legacy code is hard. And C++ can be really hard especially in a legacy code base so do yourself a favour and use a mocking framework like Hippo Mocks http://www.assembla.com/wiki/show/hippomocks . You don't have to roll your own mocks (although you can if you want) and in Hippo Mocks case it's lightweight, being neatly contained in a single header.
Written by Julian Churchill
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tdd
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#