This post originated from an RSS feed registered with Java Buzz
by Scott Delap.
Original Post: St. Louis JUG: Jemmy Swing GUI Testing
Feed Title: ClientJava.com
Feed URL: http://www.clientjava.com/archives/wireless_mobile.rdf
Feed Description: Client/Desktop Related Java Development
From the St. Louis JUG we have a presentation on Jemmy that was given last night. I wanted to attend but had prior engagements. I'm thinking that chapter 11 or 12 of Desktop Java Live will cover testing with Jemmy, Marathon, Abbot, etc.
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.