I\'ve recently installed laravel and have written some tests in /tests directory but when I use phpunit at cmd in the same folder that phpunit.xml
phpunit
phpunit.xml
I added this command in command line instead of just "phpunit"
vendor\bin\phpunit
That worked for me.