I’m about to do a little Swing work and I haven’t decided what kind of automated testing I want to do for this UI. But it was handy to see Danno Ferrin’s GUI test tool roundup. He and Glen Stampoultzis both came across a tool called Marathon which Danno describes thusly:
Marathon – not perfect but Good Enough. Record option, junit playback, was able to get it working with my detateched test harness. Dosen’t record random key strokes like I would like it to, but it referes to the JComponents principally by the setName(…) value you gave to it. It uses Jython to record the test and play back the test script.