title: Unit testing MFC UI applications?
body: <p>How do you unit test a large MFC UI application?</p>
  
  <p>We have a few large MFC applications that have been in development for many years, we use some standard automated QA tools to run basic scripts to check fundamentals, file open etc. These are run by the QA group post the daily build.</p>
  
  <p>But we would like to introduce procedures such that individual developers can build and run tests against dialogs, menus, and other visual elements of the application before submitting code to the daily build.</p>
  
  <p>I have heard of such techniques as hidden test buttons on dialogs that only appear in debug builds, are there any standard toolkits for this.</p>
  
  <p>Environment is C++/C/FORTRAN, MSVC 2005, Intel FORTRAN 9.1, Windows XP/Vista x86 &amp; x64. </p>