I found CppUnit a useful tool for unit testing of cpp code. I was able to do unit testing of some console applications and some functions which I used in my project. I am looking for how to use CppUnit for unit testing MFC application. Say I want to test the code which I write in InitDialog() function. How can I do this task.?
It be helpful if u provide a sample dialog based application along with CppUnit test cases to test InitDialog() function.