Get flash to fully experience Pearltrees
Jeffrey Palermo MCSD.NET May 2006 Summary: Find out how to incorporate Visual Studio Team System into test-driven development practices emphasized in Agile development methodologies. (3 printed pages) Contents Introduction Process Example Benefits of Test-Driven Development Characteristics of a Good Unit Test Conclusion See Also Introduction
Table of Contents 1. What is TDD ? Figure 1. The Steps of test-first development (TFD) .
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. Kent Beck , who is credited with having developed or 'rediscovered' the technique, stated in 2003 that TDD encourages simple designs and inspires confidence. [ 1 ] Test-driven development is related to the test-first programming concepts of extreme programming , begun in 1999, [ 2 ] but more recently has created more general interest in its own right. [ 3 ] Programmers also apply the concept to improving and debugging legacy code developed with older techniques. [ 4 ] [ edit ] Test-driven development cycle A graphical representation of the development cycle, using a basic flowchart