GIMP now has UI tests

qtqtqt 50 points 27 comments November 20, 2026
www.gimp.org · View on Hacker News

Discussion Highlights (5 comments)

rafram

> We have 13 tests at this time. Does GIMP have a very restrictive AI policy or something? I get not wanting to ship a gigantic pile of UI tests without thorough review, but basically any model released in the last six months would be able to write UI tests covering every single control in an afternoon.

sinoziqi

Having only 13 tests to start is actually a healthy sign for a GUI codebase this old. The hard part of desktop UI testing is almost never writing the 14th through 200th test -- it's building a deterministic harness that doesn't flake on window-manager focus races, font/DPI differences, or async redraw timing. Once you have a small suite that reliably catches real regressions without false positives in CI, adding one regression test per fixed UI bug scales much better than trying to assert on every widget up front. Huge generated UI suites usually end up cementing accidental layout behavior and training contributors to ignore red builds.

joegibbs

They made a blog post to announce that they’d written thirteen unit tests? Sure, there’s value in handmade software and all that but GIMP is not really a particularly excellent piece of software - if anything was to benefit from unleashing the agents it would be GIMP.

dllu

Funny how GIMP spawned the Gimp Toolkit, aka GTK, which is widely used in Linux, and yet GIMP's own UI seems to have long languished as a rather outdated design. Glad that they have tests, though, and hope they continue to improve it.

Aozora7

GIMP really doesn't even have a reason to exist at this point, and it's only going to fall further behind.

Semantic search powered by Rivestack pgvector
13,334 stories · 126,150 chunks indexed