I am working on a Symfony 4.4 project.
I need to run scripts on my local enviorment.
The CLI to run phpunit
is APP_ENV=test phpdbg -d memory_limit=-1 -qrr vendor/phpunit/phpunit/phpunit --coverage-text
But the problem is that I dont know how to properly set APP_ENV variable because I get this error:
APP_ENV=test : The term 'APP_ENV=test' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spellingof the name, or if a path was included, verify that the path is correct and try again.
The file for database connection is:
.env.test.local:
APP_ENV=testdatabase_host="localhost"database_port="3306"database_name="xxx_test"database_user="root"database_password=""