I’m trying to convince my organization to start running unit tests on our C++ code. This is a two-part question:
-
Any tips on convincing my employer that unit testing saves money in the long run? (They have a hard time justifying the immediate expenses.)
-
I’m not familiar with any C++ testing frameworks that integrate well with MFC. Does anyone have experience with this, or use any general test harnesses that could be extended?
I can answer the second question – the Boost Test framework can be used with MFC and someone has posted an excellent article about it on Code Project:
http://www.codeproject.com/KB/architecture/Designing_Robust_Objects.aspx