OstrikovG / php-kent-becks-test-driven-development

A Docker-based introduction with PHP examples for Kent Beck's book 'Test Driven Development: By Example'

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php-kent-becks-test-driven-development

Description

A Docker-based introduction with PHP examples for Kent Beck's book 'Test Driven Development: By Example'

Wikipedia

Buy Kent Beck's book 'Test Driven Development: By Example'

Installation

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.

  1. Clone repository

    $ git clone https://github.com/OstrikovG/php-kent-becks-test-driven-development
  2. Install application

    $ cd php-kent-becks-test-driven-development
    $ make install

Usage

  1. Read the book

  2. Make git checkout to tag according your chapter

    $ git checkout 'Chapter_1_Multi_Currency_Money'
  3. View report according to your current branch REPORT

  4. Run unit test

    $ make unit

About

A Docker-based introduction with PHP examples for Kent Beck's book 'Test Driven Development: By Example'


Languages

Language:PHP 83.5%Language:Makefile 10.5%Language:Dockerfile 6.0%