This is filled with dire consequences.
Do you mind expanding on this a bit more? As you say, testing GUIs can be extremely difficult, but some toolkits provide a way to generate events and send them to individual components simulating the user interaction.
I've had some success doing this in Perl/Tk, for example using the $widget->eventGenerate(...) method, though I've learned several painful lessons taking that approach. The test code can be non-trivial to write, and fragile because it depends on the application internals, but effective. It has influenced the way I design Perl/Tk apps (I tend to avoid the everything-in-one-script approach), so that I can create and test individual sections of the application easier.
Prima looks as though it supports a similar capability with the $component->notify(...) method, but I just wanted to better understand your point regarding simulating the user.
In reply to Re^2: Testing a GUI application
by rcseege
in thread Testing a GUI application
by carcassonne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |