Episode #77

TDD Money with Specta and Expecta

35 minutes
Published on July 25, 2013

This video is only available to subscribers. Get access to this video and 527 others.

In this episode I walk through Kent Beck's Money example from his book, Test Driven Development by example. We'll start off by setting up to use Specta & Expecta for our tests, and then drive out an implementation test-first. We'll see opportunities for refactoring and use our tests to guide us.

Episode Links

  • Source code
  • Specta - A light-weight TDD / BDD framework for Objective-C & Cocoa.
  • Expecta - A Matcher Framework for Objective-C/Cocoa
  • Test Driven Development by Example - This is an excellent book by Kent Beck. This book goes over the money example in great detail. There's a lot of text around the thought process throughout this exercise. Definitely a must-have book.