Test-Driven GUI Development with TestNG and Abbot

Testing GUIs can make the entire system safer and more robust. Any GUI, even one providing only the simplest capabilities, likely encloses some level of complexity. The more user-friendly a GUI is the more complexity it might be hiding from the user. Any complexity in software must be tested because code without tests is a potential source of bugs. A well-tested application has a greater chance of success. Several recommendations and practices can simplify test-driven GUI development for Java Swing applications. TestNG-Abbot, a developer-friendly library, provides a simple API that facilitates the application of TDD to Java GUIs