- cd /usr/local/bin
-
sudo curl -sS https://getcomposer.org/installer | sudo php
-
sudo mv composer.phar composer
-
sudo su
-
cd ~
-
mkdir phpunit
-
cd phpunit
-
echo '{ "require": { "phpunit/phpunit": "3.7.*" } }' >> composer.json
-
composer install
- create directory called tests in Magento root
- Add file called All.php which is included in this repo