headerphoto

blogs > Development - Test-Driven Development (TDD) > The 3 laws of TDD

Created Sunday, September 06, 2009 by simonwilbert

Last updated 882 days ago, by simonwilbert

  1. Don't write a line of application code until you have a failing unit test.
  2. Don't write more of a unit test than is sufficient to fail.
  3. Don't write more application code than is sufficient to pass the failing test.

Add comment | Back to blog

Comments (0)

Add comment