GTK+ user interface testing
I have created a user interface using GTK+ and C. I was wondering if there are any testing frameworks for testing this interface, similar to how selenium (a software testing framework for web applications) can be used for testing the interfaces of w开发者_运维技巧eb applications. I want to create some regression tests for my GTK+ interface. Thanks!
I know it has been answered already. However ...
Dogtail is very usefull, however Dogtail isn't a unittest framework
. From it's own description:
dogtail is a GUI test tool and automation framework written in Python. It uses Accessibility (a11y) technologies to communicate with desktop applications. dogtail scripts are written in Python and executed like any other Python program.
If you want to unit test your GTK applications you should look at GLIB TESTING. A unit testing framework for GLIB written in C for C applications.
Check out dogtail.
精彩评论