Skip to content

rgrellmann/php-tdd-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRACTICAL TDD WORKSHOP: EMBRACING COLLABORATIVE LEARNING THROUGH PAIR PROGRAMMING

This is a scaffolding kata setup to practice TDD in PHP.

  • Working example in the src and tests folder.
  • PHPUnit installed.
    • composer test

Setup

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

Test-Driven Development

TDD

The 3-repetition rule on TDD - Triangulation

Triangulation

Example mapping

Example Mapping

Test Desiderata

Example Mapping

Katas

  • 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

Presentation Slides

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published