We're hiring!

We're actively seeking developers & designers for our new Detroit location. Learn more

Testing Swing applications using JRuby

Demetrius Nunes recently posted about his Swinger library to the JRuby mailing list. Swinger uses Cucumber and Jemmy to provide a test harness for automating Swing tests.

I responded to Demetrius letting him know how great it is to hear others are interested in automating Swing testing. We’ve been using a combination of FEST and Ruby helpers specific to our own Swing applications. As Demetrius notes, Swing tests can be frustratingly brittle, but they are still well worth the investment. Swinger looks like it is both extensible and can help alleviate some Swing testing pain.

You can check out my response here and the entire discussion here.

This entry was posted in Design & Development, Testing and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. Posted June 10, 2009 at 4:12 pm

    Oh man, you have no idea how we love the Presenter First process and your MVP articles!! We use it all the time!

    I event wrote a simple MVP JRuby’s presenter_first library based on Monkeybars for a sample app I wrote about in an article that’s getting published to brazilian’s “Mundo Java” this month!

    If you want to take a look at it, see this presenter code for the app here to see how it feels like:
    http://github.com/demetriusnunes/linecounter/blob/0092e17fba81223b73dc611eca68c66e2ac1d0f6/src/main_presenter.rb

    The presenter_first lib is here:
    http://github.com/demetriusnunes/linecounter/tree/0092e17fba81223b73dc611eca68c66e2ac1d0f6/lib/presenter_first

    I soon intend to turn it into a project/gem of its own and post about it in my blog. Wanna help me?

    Cheers!

    Demetrius

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">