Home

Awesome

Extract Till You Drop

Code for my refactoring talk "Extract Till You Drop". See the screencast at http://verraes.net/2013/09/extract-till-you-drop/ (Note that this version of the code has changed since that recording was made.)

Kata

You can do this as a kata. The goal is to cover GroupService with tests, and refactor it into something much nicer along the way.

Rules:

Install

Get composer, then run

composer install
bin/phpunit

You should get a warning because there are no tests yet.