Unit Testing User Interface. What is an effective way ?
- by pierocampanelli
I have an accounting & payroll client/server application where there are several input form with complex data validation rules. I am finding an effective way to perform unit testing of user interface.
For complex validation rules I mean:
"Disable button X if I Insert a value in textfield Y"
"Enable a combobox if I insert a value in a textfield"
......
......
Most promising pattern i have found is suggested by M. Fowler (http://martinfowler.com/eaaDev/ModelViewPresenter.html).
Have you any experience about Unit Testing of User Interface? As technology stack I am using: .NET 3.5 & Windows Forms Widget Library.