[TIP] ANN: PyUseCase 3.3: Python GUI test tool
geoff.bache at gmail.com
Thu May 27 13:23:25 PDT 2010
A new release of PyUseCase is out.
Tkinter support has matured a fair amount with support added for
three new widget types (Canvas, Checkbutton and Listbox). There has also
been work done on the PyGTK side with a couple of new widget types
supported (TextView, SpinButton) and quite a few bugfixes.
See ChangeLog in the download for full details.
Feedback greatly appreciated, particularly on the Tkinter side which is still
A bit more detail:
PyUseCase is an unconventional GUI testing tool for PyGTK and Tkinter,
along with a framework for testing Python GUIs in general.
Instead of recording GUI mechanics directly, it asks the user for
descriptive names and hence builds up a "domain language" along with a
"UI map file" that translates this language into actions on the
current GUI widgets. The point is to reduce coupling, allow very
expressive tests, and ensure that GUI changes mean changing the UI map
file but not all the tests.
Instead of an "assertion" mechanism, it auto-generates a log of the
GUI appearance and changes to it. The point is then to use that as a
baseline for text-based testing, using e.g. TextTest.
It also includes support for instrumenting code so that "waits" can be
recorded, making it far easier for a tester to record correctly
synchronized tests without having to explicitly plan for this.
Mailing list: https://lists.sourceforge.net/lists/listinfo/pyusecase-users (new)
More information about the testing-in-python