What is TDD?
TDD has been around since NASA’s Project, Mercury in 1960s. But, when Kent Beck and Ward Cunningham introduced TDD as an eXtreme Programming (XP) practice, it started gaining popularity. Test Driven Development is a Technique through which Test Cases are being written to fail and then produces test cases to pass followed by refactoring the code to achieve the acceptable standard. Which eventually means: the mind set for TFD together with a Test First Design Technique and Refactoring the tested functions yields to Test Driven Development. TDD = TFD + Refactoring While implementing TDD, Developers write software codes through small iterations to implement following tasks: ü Create Automated Unite Tests ü Execute the tests to make sure they fails ü Update the tests to make sure they passes ü Re-run the new unit test cases to ensure they pass ü Refractor the codes a...