Hi guys,
I created this project which I called "Swinger" (Swing + Cucumber),
which allows you to write acceptance tests using Cucumber that drives
desktop applications written with Java and the Swing framework.
It is basically a collection of generic step definitions and utility
functions for manipulating each Swing widget (at least the most common
ones). It's still very experimental and incomplete but it has already
a very interesting demo based on the SwingSet2 demo application that
comes with the JDK. It uses NetBeans' Jemmy library for driving the
apps.
If you're interested in taking it for a drive, just get it from:
http://github.com/demetriusnunes/swinger/tree/master
And run: "jruby -S cucumber test/features"
Or even better, help me out write step definitions for the remaining
widgets and/or improve the existing ones! :-)
I plan to write a blog post about it soon and maybe create a
screencast for Cukes TV. I just have to make it a little robust and
complete.
My motivation for Swinger is that I build Swing applications at work
and I wanted to bridge the gap between the QA team and the developers
team, which unfortunately still work in separate ways.
Best regards,
Demetrius
http://www.demetriusnunes.com