Test Driven Development (TDD) is a software development process that focuses on creating unit test cases before developing the actual code. It is an iterative process that altogether connects programming, the creation of unit tests, and refactoring.
TDD is an iterative development process. In TDD, developers write enough tests before they write production code to
write a test before they write just enough production code to satisfy that test and the subsequent refactoring. Developers use the specifications and they will first write a test describing how the code actually should behave.
deepali