Are there any good frameworks for automated testing of AWT GUIs?
Integration with JUnit would be a plus.
Are there any good frameworks for automated testing of AWT GUIs?
Integration with JUnit would be a plus.
Try marathon or abbot. I used abbot in the past but marathon seems to be developed more actively and abbot seems to be quite stale.
FEST is your best bet.
It is, at its heart, a JUnit/ Test-NG style test framework; and its key feature is fluent interfaces around the Robot
class.
While it is intended for testing Swing applications, I believe you can also test AWT applications with it.
Also, due to its roots and history, it is very much similar to xUnit style testing, so integration with JUnit should be easy. It also has plugins for both Netbeans and Eclipse IDEs, allowing you to run unit tests within your development environment.
The main drawback though, is that you cannot "record" test cases, as some test tools/ frameworks allow you to. You will have to code the test cases.