This is a scaffolding kata setup to practice TDD in PHP.
- Working example in the
src
andtests
folder. - PHPUnit installed.
composer test
You can either install the dependencies locally or use the provided docker container:
docker-compose up -d
docker exec -ti -u dev php_tdd_workshop bash
composer install
composer test
- TDD Cycle
- Baby steps
- Triangulation
- Example Mapping
- TDD Cycle
- Baby steps
- Triangulation
- Test desiderata
- CRC cards
- Mock it if you own it
- Collaborators
- Solitary or Sociable test
- Triangulation
- Test desiderata
- CRC cards
- Mock it if you own it
- Collaborators
- Triangulation
- Test desiderata