PDA

View Full Version : Unit testing Gui applications



yop
17th May 2009, 16:40
After a lot of experimenting on ways of separating the UI from the bussinnes logic of my applications so I can make them easily unit testable I have come to settle with the Humble Dialog approach (I have blogged (http://pagles.blogspot.com/2009/05/researching-techniques-on-unit-testing.html) about it). Whats your take on this? I 've tried setting up "classic" Model View Controller or Presenter triads and the "Presenter First" approach. They all seem to stumble on wiring up the triads and then passing messages to each other (especially when their number increases). The "Humble dialog" seems to play better as an approach with Qt and C++.