↑
logo

GIMP now has UI tests

Posted by qtqtqt |3 hours ago |38 comments

pnkzin 2 hours ago

The first try is most difficult, 13 tests is good start. Because before the first test, we have to make reasonable test setting.

sinoziqi 2 hours ago

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.

Aozora7 an hour ago[1 more]

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

rafram 2 hours ago[5 more]

> 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.

fuussssip an hour ago

GIMP... didn't have ui tests before?

I'm surprised, tbh. I understand that UI is very much an afterthought in GIMP, but I figured it'd still at least have tests.

joegibbs 2 hours ago[7 more]

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.

ModernTimes an hour ago[2 more]

Timely, as I removed Gimp from my Macbook today after successfully testing PhotoCraft [1] for a week (the AI Photoshop clone written in open-source rust which has had an absured number of updates since you last tried it).

It makes me so HAPPY to remove the dinosaur Gimp, and to run "Adobe" software for free (it's good enough for me, maybe good enough for you). I expect to lose Internet points for saying that.

[1] https://getartcraft.com/apps/photocraft

dllu 2 hours ago[1 more]

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.

YuechenLi an hour ago

Oh, haven't heard from GIMP in a long time, has there been significant UX improvement and have they carved out a niche like Krita yet?

akersten 2 hours ago

[flagged]