Issue Task Resolved

#111395Prefer unit tests in agent guidelines

Oliver Bartsch 11/10/26, 10:58 updated 11/11/26, 09:20

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

  1. Oliver Bartsch commented and changed status Under Review Resolved done 0 % 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.