Test-driven development can greatly improve the design and delivery of complex layered software. Nowhere is this more apparent than when programming rich, interactive user interfaces.
However, structuring one's user interface code so that it can be tested, and actually testing graphical user interfaces can be challenging. In this session, we will introduce how to use a simple extension to JUnit to reliably unit test nearly many SWT user interface.
The extension that is presented here is based on the unit testing framework for Eclipse Data Binding and is similar to one used in a major investment bank.
A successful Eclipse Rich Client Platform contractor and Eclipse committer, David has been delivering Eclipse RCP applications since before the term was coined. Last year, David took part in the successful delivery of an enterprise, mission-critical, distributed Eclipse RCP application containing more than four million lines of code (including unit tests) at time of delivery. Today that application processes more than 2/3 of that clients' orders and consists of more than five million lines of code (including unit tests). Today, David is on contract with one of the largest investment banks, helping them deploy Eclipse RCP solutions worldwide. In addition, David was the founder of the Eclipse Data Binding framework and led Visual Editor Project during its first few years.