MXUnit Blog

MXUnit is a unit test framework built by ColdFusion developers for ColdFusion developers. This represents some general rants and the like for project related stuff, unit testing, and CF in general.

Monday, January 28, 2008

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

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.

0 Comments:

Post a Comment

<< Home