James Edward Grey II on Unit Testing

Posted by Daniel Butler Wed, 10 May 2006 22:46:00 GMT

James Edward Grey II, creator of The Ruby Quiz, weekly programming challenge for Ruby programmers, writes a compelling article about unit testing in The Power of Tests: Unit Testers Get More Chicks. Unit Testing, he claims, “is the single best change a programmer can make in their day to day routine.”

Read on for a summary of the reasons …

Unit testing is sexy because:

  1. Bugs are caught as you make them.
  2. Tests can help you remember the reasons for that code you’re about to delete.
  3. Tests look after your code’s “best interest” in a distributed development environment, preventing rogue developers from destroying your pretty code.
  4. Tests give you the confidence that your application is “just gonna work”.
  5. Unit tests help you quickly identify environment problems which would cause your application to selectively fail.

Read the Article
Order Book from Amazon.com

Posted in ,  | Tags  | no comments

Sponsored Links

Sponsored Links

Comments

(leave url/email »)

   Comment Markup Help Preview comment