This is a (multiple allowed):
Background
CakePHP 4.3 will feature the management of the test DB schema out of the test fixtures. A first step achieved is to import the test schema using one or several SQL file(s) (PR here).
Enhancement
For developers using migrations, the separation of schema management and test fixtures is particularly interesting since the schema of the test DB:
- may be managed by the migrations themselves,
- does not need to be recreated if the schema was not modified between to runs of test,
- incorporates the migrations in the testing cycle.
Implementation
The CakePHP Test Migrator plugin manages already the test DB schema with migrations. The goal of this enhancement is to incorporate the Migrator's logic in the present packages code, and have the Migrator deprecated.
This is a (multiple allowed):
Background
CakePHP 4.3 will feature the management of the test DB schema out of the test fixtures. A first step achieved is to import the test schema using one or several SQL file(s) (PR here).
Enhancement
For developers using migrations, the separation of schema management and test fixtures is particularly interesting since the schema of the test DB:
Implementation
The CakePHP Test Migrator plugin manages already the test DB schema with migrations. The goal of this enhancement is to incorporate the Migrator's logic in the present packages code, and have the Migrator deprecated.