December 2009

The Vanishing Cowboy Coder

December 22, 2009 0 comments

Last month I wrote an “Agile Tip of the Month” for the Agile University Newsletter. For those who don’t read the newsletter I thought I’d post it here: The creative genius working long hours churning out code that only he can understand; this is the cowboy coder. How did he get here? How do people […]

CONTINUE READING THIS POST →

Reflections on the Three Steps of Test First Development

December 16, 2009 0 comments

Decide what to do, figure out how to do it and then do it well. These are the three essential steps we perform over and over again in TDD. Each step is different and requires us to focus on different things. Separating out these steps helps us focus on each one at the right time, […]

CONTINUE READING THIS POST →

How Many Tests Are Enough?

December 15, 2009 0 comments

How much code coverage should we have? I say 100%. Do we really need to test getter and setter methods? No and yes. We don’t need to verify the trivial behavior of getters and setters but it can be valuable to have a test for them so that their existence is specified. Likewise, I have […]

CONTINUE READING THIS POST →

Triangulation

December 8, 2009 4 comments

If I get stuck and I don’t know how a complex algorithm should work I’ll write a test for an error case. Then I’ll write a test for the simplest non-error case I can think of and return a hard coded value. Then I’ll write another test case and see if I can figure out […]

CONTINUE READING THIS POST →

Agile Software Development Essentials class in Denver a Success!

December 6, 2009

The Denver ASDE class 12/1-3/09 went really well. In addition to developers, we had a program manager in the class who loved it. She said, “Software managers need this kind of training so they can communicate better with their developers.” Here are a few more comments from students: “Determining when to apply patterns and which ones to […]

CONTINUE READING THIS POST →