This is a kata skeleton. In order to setup properly a new kata follow the steps below
Download the last stable tag.
Configure your library dependencies in the
composer.jsonlocated at the root of the kata. At the moment there is only one needed dependency, the Symfony class-loader.
$ wget http://getcomposer.org/composer.phar
Install your dependencies
$ php composer.phar install
Rename the files
test/bootstrap.phpand configure the required namespaces in order that your test could find the needed classes. If there are so many dependencies, maybe it will be useful to use the autoloader instead, provided by Composer and located at
vendor/.composer/autoload.php(after installing all the packages).
Rename the file
You will find a standard test skeleton on
Start writting tests and implementing theme as usual, following the same directory/namespace structure that you will use for organize your source code.
If want to run your tests suites, execute
$ phpunit -c test/
If want to commit throught github, rename
.gitignore and build your repo!
That's all! Have fun coding!