I feel confused about how to setup a database for the test envrionment in symfony 4. I used to deal with it in config_test.yml file in symfony 3 and below.
What is the best practice ? Should I recreate a doctrine.yaml file in config/packages/test ?
The documentation mentions how to run functional test using a database by editing the phpunit config :
<phpunit>
<php>
<!-- the value is the Doctrine connection string in DSN format -->
<env name="DATABASE_URL" value="mysql://USERNAME:[email protected]/DB_NAME" />
</php>
<!-- ... -->
</phpunit>
However it does not feet my needs since I need to be able to update schema/load fixtures to the test env.