TDD — Why is it important?

  1. You may not write production code until you have written a failing test unit
  2. Write no more of a unit test than sufficient to fail
  3. Write no more production code than necessary to pass the failing test unit
index.html
views.py
urls.py

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store