Test Driven Development is a design technique used to produce quality software. First the developer writes a failing unit test to
define a desired function, code is then written to pass the failing test, and then refactored to meet acceptable coding standards.
TDD is an aspect of Agile software development and requires a disciplined development team to properly implement.
Benefits
- Simple Design
- Inspires confidence in the code
- Regression tests ensure nothing breaks as new tests and code are added
- Increases programmer productivity
- Limits defects in code
- Reducing development time by catching defects early and avoiding excessive debugging
- Creates modular, flexible, extendable code
- Working with legacy code
- Methodical approach to handling complexity and never getting stuck
Additional Information Microsoft TDD