Review 14.3 Merged

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

Georg Ringer CR +2 V +2 Easy +48 −0 updated 09/08/26, 10:22

Commit message

Mark 24 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 24

Show 4 more files

Review log 712

  1. Georg Ringer commented on patch set 1 09/07/26, 19:09

    Cherry Picked from branch main.
  2. Georg Ringer updated the commit message in patch set 2 09/07/26, 19:16

  3. core-ci voted on patch set 1 V -1 09/07/26, 19:26 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108026

  4. core-ci voted on patch set 2 V -1 09/07/26, 19:30 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108028

  5. Wouter Wolters uploaded patch set 3 V -1 09/07/26, 19:47

  6. Wouter Wolters updated the commit message in patch set 4 09/07/26, 19:53

  7. core-ci voted on patch set 3 V +1 09/07/26, 19:59 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108031

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

  9. Simon Schaufelberger updated the commit message in patch set 5 V +1 09/07/26, 21:14

  10. core-ci voted on patch set 5 V +1 09/07/26, 21:24 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108041

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

  12. Georg Ringer merged patch set 6 09/08/26, 10:22