DeepRead
Cover of Test-driven development

Test-driven development

Kent Beck · 2002

Programming and computer science › Testing and legacy code

#861 most recommended

About the book

Kent Beck's book teaches test-driven development through two worked examples: a small multi-currency money class and a minimal xUnit-style testing framework built from scratch. It covers the working rhythm of the practice, including test lists, the red-green-refactor cycle, and techniques such as fake it and triangulation, along with a set of patterns for applying them. Beck argues that developers should write a small automated test that fails before writing the code that makes it pass, then refactor to remove duplication while the tests stay green. Taking very small steps keeps design decisions local and reversible, so programmers can proceed with confidence rather than fear. He presents this as a discipline that works for both new features and restructuring existing code, and that yields a working, well-designed program as a byproduct.

Written by Claude from what it knows of this book.

What Hacker News says 65% recommend · 4% critical

0510200720102015202020262022 peak · 8
This bookAverage book in Testing and legacy code

In the commenters’ own words

What Open Library readers say 4.33 from 9 ratings

  1. 54
  2. 44
  3. 31
  4. 20
  5. 10
  • 57 want to read
  • 1 reading
  • 12 have read

Only 9 ratings: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2002
ISBN
9780321146533
Editions known
8 at Open Library
Open Library
OL1961692W

005.1/4Computer programmingComputer softwareComputer software, developmentComputer software--developmentComputer software--testingDevelopmentENGENHARIA DE PROGRAMAÇÃO (TESTES)Génie logicielMise à l'épreuveQa76.76.t48 b43 2003Software EngineeringTest-First-AnsatzTesting

Explore in the mosaic

Read next: its neighbours on the mosaic