Review main Abandoned

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

Wouter Wolters CR 0 V 0 Easy +50 −0 updated 08/17/26, 10:31

Commit message

Mark 25 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 0
  • Verified V 0

Files 25

Show 5 more files

Review log 2

  1. Wouter Wolters uploaded patch set 1 08/17/26, 10:31

  2. Wouter Wolters abandoned the change 08/17/26, 10:31