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 exists, it says 'vendor' is not recognized as an internal or external command I'm using windows 10. what should I do?
This is linux based code..
$ vendor/bin/phpunit
Try this for windows..
vendor\bin\phpunit
Please try this command for windows:
php vendor/phpunit/phpunit/phpunit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With