If you are using composer in your project, you can create an alias for it also i.e. composer phpunit.
Feb 10, 2020
5
Level 25
PHPUnit Alias Windows
In case anybody is getting fed up with typing out on Windows CMD the full path to PHPUnit within their project to do testing in Laravel type the following command into CMD/PHPStorm Terminal:
"doskey phpunit=.\vendor\bin\phpunit"
It took me a while to find this so thought I would post it here in case anyone else would like to know :)
Please or to participate in this conversation.