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
This working for me
In double quotes this command in console windows
"vendor/bin/phpunit"