O'Reilly logo

Design Driven Testing: Test Smarter, Not Harder by Doug Rosenberg, Matt Stephens

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required