Monday, 12 January 2015

TDD -Test Driven Developement

Test-driven development is related to the test-first programming concepts of extreme programming.

Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: first the developer writes an (initially failing) automated test case that defines a desired improvement or new function, then produces the minimum amount of code to pass that test, and finally refactors the new code to acceptable standards.

In this software development process, unit testing is repeatedly done on source code.
After each test, refactoring is done and then the same or a similar test is performed again. The process is iterated as many times as necessary until each unit is functioning according to the desired specifications.

Reference http://en.m.wikipedia.org/wiki/Test-driven_development

No comments:

Post a Comment