How does one change database for development and testing on local system without editing the .env
file each time?
I have found it quite inconvenient to practice TDD because of this.
Is it possible for a Laravel application to differentiate between normal development and testing so that it can choose the appropriate database?
See Question&Answers more detail:os