Posted By:
Anonymous
Posted On:
Thursday, November 21, 2002 01:15 AM
The main strategy is to make the actual GUI code as thin and dumb as possible, using the Model View Controler or Model View Presenter pattern. So, the vast majority of your tests shouldn't need to know about the GUI at all.
If you still feel the need to test the GUI, you can than test it in isolation - it might still need some thinking, but should be possible.
See http://www.xp123.com/xplor/xp0001/index.shtml for an example.
Did that help?