dev-master
9999999-devSkeleton project to give you a working directory setup for completing TDD exercises
MIT
The Requires
by Rob Masters
Skeleton project to give you a working directory setup for completing TDD exercises
The purpose of this project is to provide a simple setup with the tools needed to start writing code using TDD (Test Driven Development). With practice, the aim is to be able to write good tests and end up with clean, working code. Remember, (*1)
Simply install the project from composer. If you don't have it, you should download it from here., (*2)
The directory that you install the project into should be based on the exercise that you wish to complete. e.g. "string-calculator"., (*3)
composer create-project robmasters/coding-kata-skeleton [name-of-exercise] dev-master
It is up to you which library you wish to use to write your tests. This project comes set up with PHPUnit and PhpSpec and an example test for each. To execute the tests, run either of the following from the root directory of your project:, (*4)
$ ./vendor/bin/phpspec run $ ./vendor/bin/phpunit
Skeleton project to give you a working directory setup for completing TDD exercises
MIT