title: Laravel 5 : Use different database for testing and local
body: <p>How does one change database for development and testing on local system without editing the <code>.env</code> file each time?</p>
  
  <p>I have found it quite inconvenient to practice <em>TDD</em> because of this.</p>
  
  <p>Is it possible for a <em>Laravel</em> application to differentiate between normal development and testing so that it can choose the appropriate database?</p>