guitest is a collection of helpers for
unit-testing GUI applications written in Python.
Support for pyGTK is most mature, and support for
other toolkits is in progress. The library allows
testing of modal dialogs and recursive main loop
invocations while preventing the windows from
being shown during test runs. Arbitrary classes
and methods can be overridden, or call loggers
attached to them.