Abbot framework for automated testing of Java GUI
components and programs
All materials Copyright © 2002-2004 Timothy
Wall, All Rights Reserved
This version 0.13.1 (041111)
You can watch Abbot do its thing by running one of the
prepared example test suites (as they would appear if run from the JUnit test
runner). You may want to add "-Dabbot.robot.auto_delay=100
" to make
it look like a real person is running the tests:
java
-cp lib/example.jar:lib/abbot.jar example.FontChooserTest
java -cp lib/example.jar:lib/abbot.jar example.MyCodeTest
java -cp lib/example.jar:lib/abbot.jar
junit.extensions.abbot.ScriptFixture src/example/SimpleApplet.xml
The second example is intended to report a failed assertion, so you can see what a failed test looks like.
Note that the last example passes an Abbot script as an
argument to the ScriptFixture class to run the script as a JUnit test. For a
more complete description of the framework, see the overview
document.
|
|