How does one change database for development and testing on local system without editing the .env file each time?
.env
I have found it quite inconvenient to
If your testing database uses the same configuration but only its name is different, it would be enough to only change the selected database name by adding
to the file phpunit.xml in the node
phpunit.xml