GUI Testing
The following list is a collection of resources that may be useful to people who want to test their PyQt user interfaces:
The Unit Testing page deals with more general unit testing issues.
Historical
The following possibilities seem to be outdated (i.e., using old Python/PyQt versions, having broken weblinks or unmaintained libraries where the last release is more than five years ago). They are kept here for historical purpose and in the hope that one day some of these projects will be revived.
How to write unit tests for PyQt GUI widgets using only the open source modules included in PyQt and Python
PyQt testing with nose - a thread from the python-testing mailing list which describes various options
LDTP uses accessibility libraries to perform GUI testing
- Due to the conflicting libraries in use on Linux desktops (ATK vs. D-Bus) and the fact that D-Bus-based accessibility is often disabled for Qt applications, this may not be a workable option.
Hooq (see this blog article)
Another blog article about using Hooq with PyQt4