okay, shall we take a breather from difficult concepts and do something at least a little more concrete and geeky?
and the windswept trees whisper “yessssss, yessssss”.
recall that a microtest is a tiny snippet of test code, run in a separate app, that depends on a tiny snippet of shipping code. it is typically focused in its intent on a single branch or calculation in that shipping code. it is fast to write, to read, to diagnose.
what does a microtest prove?
a microtest proves, for an almost comically small subset of the shipping app, that what the geek said is what the computer heard is what the geek wanted.
that’s all. that’s what a microtest proves.
my goodness gracious, the proof provided by microtests, call it m-proof for short, that m-proof seems kinda, well, not to put too fine a point on it, paltry. i mean, c’mon, really? that’s all a microtest proves? the geek said X. the computer heard X, the geek wanted X?
trivial. baby-ish. pale. weak. minor. dispensable. training wheels, hand-rails, tedious, time-wasting.
if that’s where you’re at, then the time is absolutely perfect for you to start to grasp that TDD is a radically different “way of making” than what came before it. it’s not the old way with a new technique slapped on it. it is a genuinely new way.
the movement we’re in is distinguishable from other movements in software by an expansion of focus. the old trade focused almost entirely on the made – the actual product – the movement says the new trade is focused simultaneously on the made, the making, and the maker.
and the value of the m-proof is a hard technical kernal that lies at the very heart of what that movement has learned. to understand that value, one has to keep that triad – made, making, maker – in the foreground.
does it seem mysterious? the m-proofs seem like little bits of dust at first glance. but a TDD’er will tell you that’s a mistaken assessment. they are actually astonishing little particles of finest gold.
how? how can such a paltry thing actually be worth our time to learn & do?
well, that’s what i’m about, here, is explaining that mystery. this thread is by way of a long introduction to the main song.
by metaphor, here’s julia fordham, singing from the great american songbook, with a very long prelude. i will take a break and start the splainin’-proper after a little geekery on the day job.
i’ll be back soon. stay tuned?