I am following a Lynda.com Tutorial and can't get PHPUnit to work.
Here is what I did:
Project folder: C:\wamp\www\stats
In this folder I have a composer.json file:
{
"require": {
},
"require-dev": {
"phpunit/phpunit": "*"
},
"autoload": {
"psr-0": {
"stats": ""
}
}
}
I ran the composer command:
>composer update
It created a new folder C:\wamp\www\stats\vendor containing many subfolders, even /Symfony...??
Then I opened cmd.exe and wanted to run phpunit:
>cd C:\wamp\www\stats\
>phpunit
But it doesn't work. Error message: Command "phpunit" not found
Can anyone help?