Right now, on Composer, I am trying to run PHP Unit Tests. Here is my composer.json
{
"require-dev": {
"phpunit/phpunit": "^5.7"
},
"autoload": {
"classmap": ["src"]
}
}
and to run this, I have to do: php vendor/bin/phpunit --colors tests
When in reality, I'd like to remove the php prefix and just do phpunit --colors tests
I have seen it done the 2nd way so many times in video tutorials, how do they do this?
I am running PHP 7.1.0RC6 on a MBPr.
vendor/bin/phpunitto their path?php vendor/bin/phpunit --colors testsis that what you want?