Review 13.4 Merged

95692[TASK] Skip database setup for database-free functional tests

Simon Schaufelberger CR +2 V +2 Easy +40 −0 updated 09/08/26, 10:22

Commit message

Mark 20 functional test classes as not requiring database setup.

These tests need the TYPO3 functional bootstrap, dependency injection,
extension loading, configuration, or filesystem setup, but they do not
read or write persistent data.

FunctionalTestCase initializes a complete database schema for the first
test and resets it before every subsequent test by default. Skipping
that work avoids unnecessary schema creation, truncation, and sequence
resets while preserving the rest of the functional test environment.

The change covers 579 tests and passes with 1,107 assertions on SQLite,
PostgreSQL, and MariaDB. PostgreSQL and SQLite were also verified with
randomized execution.

LocalizationUtilityTest improves from a median of 11.782 seconds to
2.392 seconds. FlexFormToolsTest improves from 3.570 seconds to
2.525 seconds on SQLite.

Review

  • Code review CR +2 Done
    • Georg Ringer +2
  • Verified V +2 Done
    • Georg Ringer +2
    • core-ci +1 CI

Issues 1

Files 20

Review log 34

  1. Simon Schaufelberger uploaded patch set 1 09/07/26, 20:47

  2. core-ci voted on patch set 1 V +1 09/07/26, 20:54 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108038

  3. Georg Ringer voted on patch set 1 CR +2 V +2 09/08/26, 10:22

  4. Georg Ringer merged patch set 2 09/08/26, 10:22