views:

34

answers:

1

Is there a automation framework for gtk# applications like white or NUnitForms?

+2  A: 

There's Strongwind, which uses the GTK accessibility interfaces (note that these only work on Linux). Although it's Python, it was written for testing a GTK# app, and presumably you could implement something similar directly in C# using AT-SPI#.

mhutch
I have already been looking at strongwind. It's pretty powerful and straitforward. But I will have a look at AT-SPI#. Maybe it allows for portable acceptance tests... (portable as in "runs anwhere where mono is available")
EricSchaefer
Unfortunately AFAIK the actual GTK+ accessibility infrastructure - ATK, AT-SPI - only works fully on Linux/Unix :/ (http://www.mail-archive.com/[email protected]/msg24604.html)
mhutch
FYI MonoDevelop has some simple UI tests using an external controller that uses remoting to connect to a MD instance and make direct API calls. It's more tightly coupled than most UI tests, but it is portable - http://github.com/mono/monodevelop/tree/master/main/tests/UserInterfaceTests/
mhutch