|
Test driven development has become a more widely practiced programming
ritual as much as it is a movement for encorporating quality control
measures into the normal development process. While tools like JUnit
have made TDD at the unit level easy to implement and automate,
testing at the integration level especially for Swing applications has
long been overly complicated and often abandoned for manual processes.
Several open source projects aim to simplify integration testing for
Swing applications, some through script recording and playback
mechanisms others with programmable APIs. Arguably one of the most
robust and full-featured is the Jemmy testing toolkit - originally
developed by the NetBeans IDE development team as a means of
independantly testing their development platform, Jemmy provides APIs
for testing all GUI aspects of JFC/Swing applications.
This presentation describes the Jemmy API, how to integrate with
JUnit, and will provide several demonstrations of its integration
testing capabilities for Swing/JFC applications.
|