The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Developing Swing Components Using Simulators
Subject:  Unit testing java UIs
Date:  2004-07-26 00:26:58
From:  twalljava


Your article lies squarely in the realm of unit testing, and yet you only mention JUnit in passing. A quick google search ("java gui testing") will reveal several options for testing UIs from JUnit.

http://abbot.sf.net
http://jemmy.netbeans.org
http://jfcunit.sf.net

While there are a (very) few test cases that are not easily automated (such as ensuring an "aesthetically pleasing layout"), these JUnit extensions will get you 99% of the way there, and certainly address all of the things you tested in your simulator, without having to manually inspect the results.

 Feed java.net RSS Feeds