Unit Testing User Interface. What is an effective way ?

Posted by pierocampanelli on Stack Overflow See other posts from Stack Overflow or by pierocampanelli
Published on 2010-05-17T15:05:37Z Indexed on 2010/05/17 15:10 UTC
Read the original article Hit count: 239

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.

© Stack Overflow or respective owner

Related posts about unit-testing

Related posts about design