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.

Saturday, January 26, 2008

Real-World TDD: fixing a bug using the TDD approach

I found a bug the other night in the MXUnit eclipse plugin. I thought documenting my approach to fixing that bug might be useful as a case study in bug fixing using a test-driven approach. In this case study, I walk through step by step what I did to fix the bug and prove it was fixed.

What I like about this is that it's a real-world example. It's not canned. Canned stuff can take on an air of "oh, my, look how neat and tidy this all is!".

Don't get caught up in the particulars of the bug. They're not important. The important part is the method.

So, here it is. Enjoy.

0 Comments:

Post a Comment

<< Home