Last Updated: February 25, 2016
·
1.407K
· julianchurchill

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.