Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Concept

Test-Driven Development

Technique

A software development practice in which a failing automated test is written for a small piece of desired behavior before the code that implements it, with the code then written just enough to pass the test and afterward refactored.

Facts
Partially Attested
Origin Year
2002 2
Date marks the original publication of Kent Beck's canonical book; the underlying test-first practice is described by Beck as rediscovered from earlier programming disciplines, not newly invented that year.
Core Principle
writing an automated unit-level test case that fails, then writing just enough code to make the test pass, then refactoring both the test code and the production code, then repeating with another new test case. 1
Connections

In Field

Sources
1. Test-driven development - Wikipedia
Introduction (lead section)
Quote, Introduction (lead section)
writing an automated unit-level test case that fails, then writing just enough code to make the test pass, then refactoring both the test code and the production code, then repeating with another new test case.
View the Source
2. Test-driven development, By Example (Open Library catalog record)
Original publication date field
Quote, Original publication date field
November 8, 2002
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.