GIMP now has UI tests

downloadsplash-aryeom

GIMP has a lot of intertwined menus, dialogs and tools. When we change a part of the interface, another may stop working and sometimes, the problem can be missed until a user reports it. To find these problems early, a new GUI testing platform was implemented. A typical GUI test starts GIMP, clicks menus and buttons, and then checks the result. These tests run automatically each time we merge contributor changes. Why we need them⁠ GIMP already has unit tests. A unit test checks one small part of the code, for example how GIMP reads an XCF file. But our unit tests were not opening a real window. So it coult not tell us if a dialog opens, or if a menu item did its job. Note that GIMP already had tests of GUI code, usually interacting directly with the core code, and sometimes even…

Continue reading at Hacker News gimp.org
Advertisement