Prologue

Beware the agile hype

T'was brillig when the YAGNI'd code
 did build itself ten times a day.
All flimsy were the index cards,
 designs refactored clear away.
Beware the agile hype, my son
 more code that smells, more bugs to catch.
Refactoring seem'd much more fun
 until thy skills were overmatch'd.
With vorpal unit tests in hand
 against the manxome bugs he fought.
Quite dazed was he by TDD,
 some sanity was what he sought.
But, in his timebox made of wood,
 determined by some planning game,
yon tests ran green and all was good
 until the deadline came.
It's half past two, I guess we're through
 it's time to have a tasty snack.
What's that you said, some tests ran red
 all fixed, with one quick hack!
And lo the thought came with a shock,
 design comes first, ...

Get Design Driven Testing: Test Smarter, Not Harder now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.