Sample code from Seattle PHP Meetups.
Remember to install and run Composer.
curl -sS https://getcomposer.org/installer | php
php composer.phar install --devThen copy the phpunit.xml.dist file to phpunit.xml so you can run phpunit.
cp phpunit.xml.dist phpunit.xml
./vendor/bin/phpunitWindows users, you are on your own until someone let's me know how you would do this.