What is TDD

Test-driven development

  • software requirements are converted to tests cases *before* actual implementation
  • implementation is done against all those test cases
  • opposing to first writing an implementation then tests cases

Further read:

https://en.wikipedia.org/wiki/Test-driven_development