A Docker-based introduction with PHP examples for Kent Beck's book 'Test Driven Development: By Example'
We are using GNU Make for work with CLI while developing. You can see list of all available command using make
command in project root directory.
-
Clone repository
$ git clone https://github.com/OstrikovG/php-kent-becks-test-driven-development
-
Install application
$ cd php-kent-becks-test-driven-development $ make install
-
Read the book
-
Make
git checkout
to tag according your chapter$ git checkout 'Chapter_1_Multi_Currency_Money'
-
View report according to your current branch REPORT
-
Run unit test
$ make unit