News for hackers. Stuff that matters.
Re:GIMP now has UI tests by joegibbs on Friday November 20, 2026 @12:29AM (#50570525)
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.
Re:GIMP now has UI tests by Jolter on Friday November 20, 2026 @12:38AM (#50570570)
I’d go so far as to say that in general, adding tests for legacy software before a refactor or rewrite is the perfect time to put the agent to work.
Re:GIMP now has UI tests by hulitu on Friday November 20, 2026 @12:42AM (#50570599)
> if anything was to benefit from unleashing the agents

AI can write tests now ? For its own software ? Can it evaluate the results ? Correctly ? /s

Re:GIMP now has UI tests by aidenialislife on Friday November 20, 2026 @12:54AM (#50570679)
Writing tests never was the hard part of the job anyway.
Re:GIMP now has UI tests by t43562 on Friday November 20, 2026 @03:48AM (#50571926)
Lucky you. Making things testable seemed hard to me quite often and ensuring that the tests covered all the difficult bits without effectively mocking it to death so that one was testing almost nothing.
Re:GIMP now has UI tests by desterothx on Friday November 20, 2026 @04:07AM (#50572066)
Yup especially if you don't care if they actually show correctness or not
Re:GIMP now has UI tests by altmanaltman on Friday November 20, 2026 @12:44AM (#50570615)
The blog article doesn't say they have written thirteen unit tests.

> *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 simulating input devices’ events (pointer movements, clicks, drags…). But nothing can beat interacting with the real interface. Furthermore such legacy tests directly hijacking core code come with their own problems, such as breaking all too often (and not because they detected a bug), all while not being able to detect whole categories of bugs.

> UI tests check the program as a whole, in the same way as you use it.

Re:GIMP now has UI tests by qtqtqt on Friday November 20, 2026 @12:44AM (#50570617)
They must have set up a reusable harness, and it's the most important part.
Re:GIMP now has UI tests by WD-42 on Friday November 20, 2026 @12:45AM (#50570618)
Did you read the article? These aren’t unit tests. They are UI tests which are pretty hard to do well with desktop apps.
Re:GIMP now has UI tests by qtqtqt on Friday November 20, 2026 @12:47AM (#50570633)
Especially given it isn't as easy as using Cypress.
Re:GIMP now has UI tests by slopinthebag on Friday November 20, 2026 @12:50AM (#50570649)
we forget, but before AI this would have been at least 6 months of work, at least 50 meetings, and at least 7 separate sprints.
Re:GIMP now has UI tests by raincole on Friday November 20, 2026 @01:05AM (#50570757)
It'd be really interesting to look back the comparison between projects with strict non-AI policies (e.g. GIMP) and ArtCraft in 2027.
Re:GIMP now has UI tests by flexagoon on Friday November 20, 2026 @02:21AM (#50571263)
GIMP is far from the best FOSS image editor for many use cases. IMO for many simple editing tasks that people usually need unless they're professional photo editors, even Inkscape, a primarily vector editor, is a better photo editor than GIMP.
Re:GIMP now has UI tests by raincole on Friday November 20, 2026 @02:24AM (#50571295)
Inkscape is what made me believe ArtCraft would be the clear winner, btw.
Re:GIMP now has UI tests by t43562 on Friday November 20, 2026 @03:45AM (#50571906)
What is the point of image editors? A fleet of AI artists should be doing it.
Re:GIMP now has UI tests by plant-ian on Friday November 20, 2026 @01:20AM (#50570844)
It sounds like they are nearly end to end user interface (UI) tests, not just unit tests.