Reputation: 9791
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?
Upvotes: 1
Views: 2214
Reputation: 6439
Boost test is really complete, but a little cumbersome.
If you just want to make simple tests, spending as little time as possible, have a look at google test.
Upvotes: 1
Reputation: 2761
Tut framework isn't bad and very clear.
For the first part of the question :
Have a look here. It could be help you to find statements for
Upvotes: 1
Reputation: 78648
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
Upvotes: 1