PHPUnit in laragon
whether there is a PHPUnit in laragon or I must install it manually?
It's so easy to install PHPUnit with Laragon, and you can install it manually:
composer global require "phpunit/phpunit=5.4.*"
@leokhoa thanks. I asked, because I thank that maybe in Laragon it preinstalled!
@leokhoa After installing phpunit globaly, i try runing my tests, but I get an error
Error: Class 'Dotenv\Environment\DotenvFactory' not found
All tests fail because of this. I even tried on a fresh install of laravel.
Any ideas on a solution?