Test Driven Development (TDD)
Test driven development is a software development process that relies on software requirements being written as test cases before real code is written.
TDD is a process of ensuring that we write enought testable code and it is modular enough and it is simple enough to get the task done and fulfull our requirement
A Method that introduce testing upfront, thereby providing your code with more comprehensive long-term coverage
Protect your code from potential future modifications that could cause it to fail.