Not I. I write code until I see errors, debug to find those errors, and add internal consistency checks (asserts, etc.) to make sure they don't happen again. "Test first development" seems to me to be a blunt tool for people who don't understand their code, or even make a serious effort to do so.

On the other hand, you'll get serious XP on Perlmonks for saying you test first.

EDIT: Thank you, downvoters, for making my point.

In reply to Re: Does anybody write tests first? by educated_foo
in thread Does anybody write tests first? by amarquis

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":