Monthly Archives: July 2007

Tests as a Targeting System

Unit tests should tell you more than just if there is an error, they should tell you where it is. I was going through some of my older notes on unit testing and came across a note where I referred to unit tests as a “Targeting System” and it struck me as a very concrete […]

Posted in Test-Driven Development, Testing | Tagged , | Leave a comment

Code Smell: Using the Debugger

When you have a lot of code to look through to find an error, you often times use a debugger. You use the debugger to step through code to find out where it is failing. This is a code smell. CODE SMELL: If you find yourself using the debugger, your tests are not fine-grained enough. […]

Posted in Test-Driven Development, Testing, Uncategorized | Tagged , | Leave a comment