TDD
First of all TDD can’t be properly applied if you have no idea what the problem is and you don’t know how to solve it.
So an overview should be done before applying TDD.
- Analyze the problem.
- Go through the related existing code if present.
- Identify where the new functionality should be called from and how.
- Define a list of test cases.
TDD process can be depicted by the below diagram