TestDrivenDevelopment also known as TestFirstDevelopment? is a coding style based upon the following rythm.

  • Write a test, and see it fail
  • Write some code and see the test pass
  • Refactor