Test Driven Development

  • In Test Driven Development (TDD), tests are as important as the main code
  • Write tests first and then write code
  • Tests start out failing and eventually pass (red-green)
  • Get simple tests to pass. Then more complicated

16 / 21