Injects a command into the phpunit bootstrap to seralise the migrated database state to an sql file.
Then on every test case, reset the database using the generated file.
Everytime phpunit runs, the test:bootstrap command is executed.
This will check for the existance of a sql file and if not, it creates a temporary database, migrates into the database and dumps the final migration to a sql file.
Then before every test case is ran, it will then use that sql file and replace the testing db with the contents of that sql file.