Bullet Proof User Interfaces slides

June 29, 2009

As I mentioned back here, my collegue, Jared MacDonald, also spoke at JavaOne 2009. Besides being an entertaining speaker, he delivered a great message about applying Test Driven Development (TDD) to user interface development. TDD is oft regarded as too difficult to apply in the UI space. Jared did a great job demonstrating why that’s simply not the case.

pdf Bullet Proof User Interface slides (PDF)

Until next JavaOne!

7 Responses to “Bullet Proof User Interfaces slides”

  1. DMB Says:

    Congratulations. You’ve just spent three times as much time on that dialog as you should. And it probably won’t change for the life of the product, so your tests, once they pass, are 100% useless. And in the context of a product, you STILL don’t have 100% coverage, because there will be all these failure cases in the caller code some of which your unit tests won’t ever hit because they’re too simplistic and optimistic.

    I’m not against unit testing for complex pieces of code, but simple pieces can do without it just fine. And TDD is a waste of time. And you still need a QA org because once deadline draws near developers will start cutting corners.

  2. John Says:

    Think of it as a component that was written, fully tested and can be reused!


  3. Have you tried frankenstein [ http://www.slideshare.net/vivek_prahlad/functional-testing-swing-applications-with-frankenstein ] ?

    it even has record-playback to make writing acceptance test easier.

  4. Ken Says:

    I hadn’t seen this — it definitely looks interesting.

    -Ken


    • It was built by a couple of ThoughtWorkers (http://www.thoughtworks.com/) when they couldn’t find a good way to write acceptance tests for swing apps. If you’re interested, I could put you in touch. :)

      • Jared Says:

        Saager,

        This is Jared (the presentation author). I hadn’t seen that tool — it looks compelling! I have a lot of respect for what comes out of the ThoughtWorks — Uncle Bob’s piece on applying TDD to bowling scores was one of my early inspirations!

        Thanks again,
        Jared


  5. […] Ken Orr lets everyone know that a co-worker of his, Jared MacDonald, spoke at JavaOne on building bullet proof user interfaces using test-driven development. The slides (in pdf form) are available for download. […]


Leave a comment