Writing unit tests at the same time as (or even before) corresponding code leads to a stronger, more robust codebase. Strangely enough, even with the extra work, we find it speeds development. TDD makes debugging easier. TDD also provides definititive documentation of edge-case behavior.
Yes, all of us are big fans of TDD. But not so much as Google, it seems.
Google (according to Nial Kennedy via ValleyWag) provides TDD tutorials in their bathroom stalls (!) :
0 Comments:
Post a Comment
NOTE: Comments posted on Software Testing Tricks are moderated and will be approved only if they are on-topic. Please avoid comments with spammy URLs. Having trouble leaving comments? Contact Me!