Re: Swing unit testing

2010-01-12 Thread Brian Goslinga
On Jan 12, 8:39 am, Eric Thorsen wrote: > Anyone have any recommendation/experience for a unit testing library > for testing swing components? > > Thanks! > Eric We've used FEST [1] in school. It worked, but testing GUI code is horrible. [1] http://fest.easytesting.org/wiki/pmwiki.php -- You re

Re: Swing unit testing

2010-01-12 Thread Eric Thorsen
I saw this. I'll give it a try. Thanks, Eric On Jan 12, 10:06 am, Roger Gilliar wrote: > Hi, > > we use Jemmy for this purpose (https://jemmy.dev.java.net/) > > Regards >    Roger -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this grou

Re: Swing unit testing

2010-01-12 Thread Rob Wolfe
Eric Thorsen napisał(a): > Anyone have any recommendation/experience for a unit testing library > for testing swing components? For simple module testing I use marathon [1] and for this purpose can recommend it. Test scripts can be written in Python not Clojure, though. ;) [1] http://www.marath

Re: Swing unit testing

2010-01-12 Thread Roger Gilliar
Hi, we use Jemmy for this purpose (https://jemmy.dev.java.net/) Regards Roger -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please b

Re: Swing unit testing

2010-01-12 Thread Sean Devlin
Eric, Testing view code is very difficult to automate. There's the java.awt.Robot class that Sun provided explicitly for this purpose. In my experience, I try to refactor as much as possible into my controllers (should be easy in Clojure). Also, I put dummy code in each view element and I manuall

Swing unit testing

2010-01-12 Thread Eric Thorsen
Anyone have any recommendation/experience for a unit testing library for testing swing components? Thanks! Eric -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new memb