Swing testing frameworks ?

62 views
Skip to first unread message

Jan Goyvaerts

unread,
Apr 23, 2012, 10:38:05 AM4/23/12
to The Java Posse
Does somebody in here has practical experience with a Swing testing framework that actually does work ? 

I was thinking about FEST, but I'm not quite sure it's still active. Is it ?

TIA !

Jan

Duncan McGregor

unread,
May 8, 2012, 4:03:55 AM5/8/12
to The Java Posse
I've had good experience with Jemmy. Although it's a generated code
dogs breakfast underneath, it worked fine last time I was in Swing,
probably 4 years ago now.

Also check out WindowLicker. I haven't tried it, but it's written by
Nat Pryce of JMock and GOOS fame, so has promise.

Duncan

On Apr 23, 3:38 pm, Jan Goyvaerts <java.arti...@gmail.com> wrote:
> Does somebody in here has practical experience with a Swing testing
> framework that actually does work ?
>
> I was thinking about FEST <http://code.google.com/p/fest/>, but I'm not

Jan Goyvaerts ©

unread,
May 8, 2012, 4:11:08 AM5/8/12
to java...@googlegroups.com
Thanks ! :-)

--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.


Moandji Ezana

unread,
May 8, 2012, 8:15:01 AM5/8/12
to java...@googlegroups.com
On Mon, Apr 23, 2012 at 4:38 PM, Jan Goyvaerts <java.a...@gmail.com> wrote:
Does somebody in here has practical experience with a Swing testing framework that actually does work ? 

I was thinking about FEST, but I'm not quite sure it's still active. Is it ?

The FEST project is still alive, but the Swing module (which I've never used) hasn't seen much action in a while. Much like Swing itself, so maybe that's not really a problem.

As a big fan of Assert and Reflect, I'm not sure what they do really needs a lot of constant updates, anyway.

Moandji

Ricky Clarkson

unread,
May 8, 2012, 9:03:33 AM5/8/12
to java...@googlegroups.com

I had some success with FEST but also some problems having it run on a Windows CI server.  And running the tests locally was irritating (unless done overnight or over lunch).

I recommend setting component names for use with FEST otherwise you'll go mad writing weird matchers.

--

Graham Allan

unread,
May 8, 2012, 2:12:59 PM5/8/12
to java...@googlegroups.com
I've enjoyed using UISpec4j[1]. It allowed writing very readable tests. Last release Dec 2010, so not sure how active the project is.

Reply all
Reply to author
Forward
0 new messages