While we try to set up as many unit tests as time allows for our applications, I always find the amount of UI-level tests lacking. There are many options out there, but I'm not sure what would be a good place to start.
What is your preferred unit testing tool for testing Swing applications? Why do you like it?
The sensitivity, specificity, and accuracy of the swing test were 82.6%, 100%, and 85.2% of those of radiographic analysis, respectively. The swing test is a simple physical examination technique to detect whether valgus deformity exists when the knee flexes.
On February 15, 2008, HP Software Division announced the end of support for HP WinRunner versions 7.5, 7.6, 8.0, 8.2, 9.2—suggesting migration to HP Functional Testing software as a replacement.
On our side, we use to test SWING GUI with FEST. This is an adapter on the classical swing robot, but it ease dramatically its use.
Combined with TestNG, We found it an easy way to simulate "human" actions trough the GUI.
If your target application has custom components, I would definitely recommend Marathon to automate your tests.
I was given the task of automating an application with several extremely complicated custom components, written in-house from the ground up. I went through a review process that lasted two months, in which I made the decision on which test tool to use, from a list of close to 30 test tools that were available, both commercial and FOSS.
It was the only test tool that was able to successfully automate our particular custom components; where IBM's Rational Functional Tester, Microfocus' TestPartner, QF-Test, Abbot & FEST failed.
I have since been able to successfully integrate the tests with Cruise Control such that they run upon completing each build of the application.
A word of warning though:
1) it is rather rough around the edges in the way it handles JTables. I got around this by writing my own proxy class for them.
2) Does not support record/replay of drag-and-drop actions yet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With