Test Driven Development. By Example
Test-driven development (TDD) is a new approach to application development that is designed to eliminate the fear often associated with building software. Admittedly, some fear is healthy (often viewed as a conscience that tells programmers to "be careful!"), but the author believes that programmers build better software when they have the freedom to be creative. By building tests before coding begins, programmers ensure the success of their application from the outset. Students are more likely to achieve positive results with TDD. The author's example-driven approach also teaches students to be better communicators, and encourages team members to seek out constructive criticism.
Kent Beck is the founder and director of Three Rivers Institute (TRI). He has pioneered patterns for software development, the XUnit family of test frameworks, the HotDraw drawing editor framework, CRC cards, refactoring, and most recently eXtreme Programming (XP). He lives on 20 acres in rural southern Oregon.