Tag Archives: test-first

A Word Cookies Worksheet App

My girlfriend and I like to play a word-search game called Word Cookies!®, by BitMango. The game presents a collection of letters and an empty list of words of various lengths. It’s your job to assemble the available letters into … Continue reading

Posted in Uncategorized | Tagged , , , , | 82 Comments

Reason #2 Why We Write Unit Tests

Seen on DamnLOL… Ninety-nine little bugs in the code, Ninety-nine little bugs! You take one down, patch it around, A hundred and seventeen bugs in the code! (See also Twelve Benefits of Writing Unit Tests First.)

Posted in Uncategorized | Tagged , , , | Leave a comment

Twelve Benefits of Writing Unit Tests First

Why do programmers hate writing unit tests? Why do they hate even more writing unit tests before coding? You don’t have to answer. I’ve already heard the excuses. These are rhetorical questions. I have a theory, however, what the real … Continue reading

Posted in Uncategorized | Tagged , , | 46 Comments

Manual Test-First

Working on a team that’s not yet onto the value of unit testing, I frequently encounter what Michael Feathers calls “legacy code.” It is not unit-tested and can’t be. That doesn’t mean I need to forget test-first.

Posted in Uncategorized | Tagged , , , , | Leave a comment