End-to-end GUI tests for bzr-gtk?

Geoff Bache geoff.bache at gmail.com
Fri Feb 5 20:27:58 GMT 2010


Hi all,

I wondered if anyone was interested in creating a black-box test suite
for bzr-gtk?

I'm the author of PyUseCase which is a PyGTK testing tool which has
become mature pretty recently, and I'm hoping a few larger projects
will try it out. I downloaded bzr-gtk and started trying to create
tests and it seemed to go pretty smoothely with the few things I tried
out. Would be happy to help get it off the ground if there was
interest.

It's a bit different to most other GUI test tools. To give you a
flavour, I created this test for annotation against a minimal Bazaar
repository:

view options for olive file file2.txt
annotate file
view detail diff for line 1
close bzrk diff window
close annotate window
close olive

which created some output which I've attached. The idea then is to
monitor future changes to a filtered version of this auto-generated
output. The only changes I needed to make in the code to do this were
to call set_name on a couple of TreeView widgets.

There's a tutorial which explains how I did this at

http://www.texttest.org/index.php?page=documentation_3_16&n=gui_tests

Regards,
Geoff Bache
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output.olive
Type: application/octet-stream
Size: 3754 bytes
Desc: not available
Url : https://lists.canonical.com/archives/bzr-gtk/attachments/20100205/5f353b35/attachment-0001.obj 


More information about the bzr-gtk mailing list