3. What is TDD
It is a software development process that relies on the
repetition of a very short development cycle: requirements
are turned into very specific test cases, then the software is
improved to pass the new tests, only
5. Why TDD
1. You feel confident about your code and logic.
2. Your code is cleaner .
3. Code quality & maintainability increases .
4. TDD can lead to more modularized, flexible and extensible code
5. Regression testing is much more easier as automated test cases find bugs
early (so you are confident while changing code or delivering code to
production).
6. Introduction to Junit
Before testing
>>suitable architecture (Decoupling)
>>Dependency Injection
Junit
Mocking
Demo