Test-Driven Development

Kent Beck

Summary of TDD:

  1. Quickly add a test.
  2. Run all the tests and see the new one fail.
  3. Make a little change.
  4. Run all the tests and see them all succeed.
  5. Refactor to remove duplication.

Get this book on Amazon.