Code from TDD Kata 1 session last night

Most attendees reported having fun last night at the TDD Kata 1 session at SkullSpace, the latest Winnipeg PHP UG meetup. 😉

Here’s the code we produced last night, plus a very basic example of how to make functions throw exceptions in PHP that we did not get to last night.

Do you have an implementation I could learn from?

Does anyone in Winnipeg wanna get their feet wet with TDD in PHP?

There is a really cool intro to TDD “kata” on Roy Osherove’s website: TDD Kata 1. I’d be available to go through an implementation with PHP. It is a very nice way to get familiar with some ideas in test-driven development, because it is very beginner-level.

I just suggested this meetup on the Winnipeg PHP UG meetup page: http://www.meetup.com/Winnipeg-PHP/events/155430762/ . Please RSVP “Yes” if you’re interested – 2 RSVPs and it gets announced to everyone through the meetup group.