#111395Prefer unit tests in agent guidelines
Description
AGENTS.md asks agents to reproduce a bug with a test before fixing it. Since its introduction the share of bugfixes changing tests went from about 33 % to 84 %, and most of the new tests are functional tests, also where a unit test could reproduce the bug.
Every functional test runs on each supported DBMS in CI and provisions a TYPO3 instance, which makes it much more expensive than a unit test and is a main driver of the growing pipeline runtime.
AGENTS.md should ask for the cheapest test level that reproduces the behaviour, name the cases that need a functional test, and ask to extend existing functional test cases before adding new test case classes.
Reviews 2
History 15
-
Gerrit Code Review pushed patch set 1 for main to change 97508 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-10T11:01:17+00:00" > 11/10/26, 11:01 </span> -
Gerrit Code Review pushed patch set 2 for main to change 97508 <span data-processor="relativetime" data-value="2026-11-10T11:04:25+00:00" > 11/10/26, 11:04 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 97508 <span data-processor="relativetime" data-value="2026-11-10T22:43:53+00:00" > 11/10/26, 22:43 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 97529 <span data-processor="relativetime" data-value="2026-11-10T22:51:46+00:00" > 11/10/26, 22:51 </span>
-
Oliver Bartsch commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-11T09:20:14+00:00" > 11/11/26, 09:20 </span>
Applied in changeset commit:a5721d953a321961ef9383e264bb2af6eaa769e1.