Technology and Engineering Atlas

How Things Are Built
Sign In
Text size
100%
Theme
Methods

Test-Driven Development

Software Engineering

Citation Formats

General Reference

APA Style

BibTeX

Test-driven development is a software engineering method in which a programmer writes an automated test for a small piece of intended functionality before writing the code that implements it, then writes just enough code to make that test pass, and finally refactors the code to improve its structure while keeping the test passing, repeating this cycle for each new piece of functionality. The practice, popularized by Kent Beck as part of extreme programming in the late 1990s, aims to produce a comprehensive suite of automated tests as a natural byproduct of writing the code itself, catching regressions early and giving developers confidence to change or refactor a codebase without breaking existing behavior.

Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0 open reader challenges)
No disputes yet. Spotted an error or a better source? Open the first one.

View At A Past Year

The atlas records no dated fact of its own for this entry, so there is no other year to choose.