6

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 web applications. I want to create some regression tests for my GTK+ interface. Thanks!

2 Answers 2

3

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.

Sign up to request clarification or add additional context in comments.

2 Comments

GLib testing is for GLib applications, that can be completely unrelated to gtk. I don't see any tool for graphical interfaces in GLib Testing reference page.
Maybe just take a look into Google Test for C++ testing (Gtkmm apps).
2

Check out dogtail.

2 Comments

Your link is dead
this might be the repo for it: gitlab.com/dogtail/dogtail

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.