Everything About ___
Live briefing

Everything about Test-driven development

Method of writing code

Test-driven development (TDD) is a way to write source code that involves 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. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Test-driven developmentA 5-minute orientation
  2. Skim a recent paper: Affective reactions and test-driven development: Results from three experiments and a surveyInfluential work since 2022
  3. Pick up a classic book: Pragmatic unit testingThe most-reprinted book on the subject
  4. Read the landmark paper: Test-driven development concepts, taxonomy, and future directionCited 172 times
  5. Go sideways: Unit testingA closely related topic
  6. Go sideways: Acceptance test-driven developmentA closely related topic

📖 Definitions

Noun A software development process that relies on the repetition of a minimal development cycle where the developer writes an (initially failing) automated test case that defines a desired function, then produces minimal code to pass that test, and finally refactors the new code to acceptable standards.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics