Test-Driven Development (also called TDD) is the way we approach the design. It is not about testing. It is the way to force us to think about the implementation and what the code needs to do before…