Real-World TDD: implementing new functionality using a TDD approach

Monday, January 28, 2008

The other day I posted about using the test-first approach to fix a bug I found in the MXUnit Eclipse plugin. That walkthrough is here, although it doesn't have all the pretty pictures. Here's another walkthrough along the same lines, except this one demonstrates using test-first on new functionality. And it has pretty pictures. With this one, I tried to demonstrate what I was thinking as I was coding and testing. So if you're getting started with unit testing CF and want to get in someone's head as they do it, here's one example. Enjoy.

No comments: