- Download the code using GIT or with the downloading the zip link
- Go into the folder of the kata you want to practice. Eg: cd fizz-buzz
- Install composer
- Locally:
curl -sS https://getcomposer.org/installer | php
- Globally:
curl -sS https://getcomposer.org/installer | phpsudo mv composer.phar /usr/local/bin/composer
- Locally:
- Install the dependencies
php composer.phar installcomposer installIf you have installed composer globally
- Execute the tests
./vendor/bin/phpunit- Or if you want to install PHP Unit globally
- Installation:
wget https://phar.phpunit.de/phpunit.pharchmod +x phpunit.pharsudo mv phpunit.phar /usr/local/bin/phpunit
- Running:
phpunit
- Installation:
Good kata to start doing TDD
Easy kata to continue with TDD
Refactoring kata
Easy kata to practice the importance of the test order.
Kata to start practicing with mocks and stubs.
Good kata to learn indirect input and output