Task: Give every test class its own SQLite database
Description
The functional tests on SQLite shared one database file in var/, so two runs at the same time broke each
other. As in TYPO3's testing framework, the migrations now build a template once per run, every test class works on
its own copy (var/), and Build/ keeps
that directory in memory. The template is built under a lock, ready for PHPUnit's planned parallel execution.
Impact
Functional runs on SQLite can run side by side. Tests that create tables of their own create them in their class's
copy. .env. names the new directory.