Cooling

GIMP now has UI tests

Heat 56 · #27 in Tech · Cooling3 reports · 3 sources · First reported Nov 16 · Updated Nov 20

The story

GIMP now has automated UI tests that exercise the program the way a person would: each test starts a real copy of GIMP, clicks menus and buttons through the accessibility tree, and checks the result. The first set of 13 tests covers starting the program, the Welcome dialog, creating an image with File > New, exporting a PNG, swapping foreground and background colors, adding and deleting layers, Undo and Redo, zooming, saving Preferences, and flattening an image. The tests run without a screen, in a small private desktop with its own D-Bus and a headless window manager, so they can run on continuous-integration servers. They work on Linux with X11 and Wayland only, because the dogtail testing tool they rely on does not support Windows or macOS. The work was written by Harsh Verma, and the project published a guide for contributors who want to add tests for other parts of the program.
Latest development
row unchanged, still cooling 56.0

How it unfolded

  1. row unchanged, still cooling 56.0
  2. written by Harsh Verma, merge request !2909, with a developer guide at testing.developer.gimp.org. Linuxiac and LXer covered it independently the same week - the second source that lifts this over the single-source hold. HN #1, 59 pts/34 cmt (post 50569985). Score 78.0 (rank 100, discussion 60, cross 70).
  3. tests run headless on CI in a private desktop (own D-Bus, headless mutter) and on Linux only (X11/Wayland, dogtail has no Windows/macOS support)
  4. Nov 16
    GIMP published a news post on 2026-11-16: the project now has automated UI tests that start a real GIMP, click menus and buttons like a person (via the accessibility tree, using dogtail), and check the result - 13 tests at launch covering startup, the Welcome dialog, File > New, Export As PNG, Swap Colors, layers, Undo/Redo, zoom, Preferences save and Flatten Image

The angle

GIMP can now test itself like a user - 13 automated UI tests that click real buttons; what they cover and why it matters for the next releaseSuggested format: Short video · for Open-source users, designers, Linux users, developers

Heat

Now 56 · Peak 78 · 62 recorded checks since Nov 20
Full ranking →