Title: Test Driven Development With Python
Author: Harry J W Percival
First of all, let me tell you in brief, what is test driven development. Agiledata defines it as” Test-driven development (TDD) is a development technique where you must first write a test that fails before you write new functional code.
The mantra of test driven development is in three steps, i.e. red, green and refactor, in the first step write a test that fails, second step where you have to make the code work and in third eliminate redundancy. It can be understood from the below picture.