| [ next ] [ prev ] [ contents ] [ skip to Testing in a Matrix ] [ up to Test Number Three -- Tying the Knot ] | XP-Cinti TDD Workshop |
As we were writing tie, Mark says "I think we need a Matrix about now."
Now I know I'll eventually need a matrix (or 2 dimensional array, or something like that) eventually. But nothing in our tests requires that we use a matrix yet. If I can satisfy the tests without using a matrix, then I will do it.
This is called Doing the Simpliest Thing That Will Work, and is one of the slogans of Extreme Programming. There are good things that come from following this slogan.
So let's ask ourselves that question ... What test can we write to
force us to use a matrix?
| [ next ] [ prev ] [ contents ] [ skip to Testing in a Matrix ] [ up to Test Number Three -- Tying the Knot ] | Copyright 2003 by Jim Weirich.![]() |