
Test-driven development
Kent Beck · 2002
Programming and computer science › Testing and legacy code
#861 most recommended
Hacker News
62
mentions by 46 people · top 6% of 15,732 books
Open Library
4.33★★★★★★★★★★
9 ratings · 57 want to read
Wikipedia
—
No article yet
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
In the commenters’ own words
A number of points in the post/article are questionable. First, it assumes the developers had substantial control over the schedule for the project ("Giving…
Here are my recommendations. Each is a placeholder for a complete discussion :) Psychology of Programming ========================= 1. "Psychology of Computer…
What Open Library readers say 4.33 from 9 ratings
- 54
- 44
- 31
- 20
- 10
- 57 want to read
- 1 reading
- 12 have read
Only 9 ratings: treat the average as a hint.
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
- Ask HN: What language-agnostic programming books should I read?
- Ask HN: Top 10 Timeless Software Books That ChangedLife as Software Engineer?
- Ask HN: What are some of the best well-written books on computer science?
- Ask HN: What's an (article|book|vid) that changed the way you view programming?
- Ask HN: What books helped level you up from a developer to something more?
- Ask HN: How do you decide a non-fiction book is worth your time?
- Ask HN: Classic programming books to read over the summer?
- Ask HN: Good books for my non-technical cofounder on software development
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
Read next: its neighbours on the mosaic
Effective Software TestingMauricio Aniche · 2022 · recommended by 2 people · similar by subject and what people say about it
Clean CodeRobert C. Martin · 2008 · recommended by 298 people · 7 people recommended both
Working effectively with legacy codeMichael C. Feathers · 2004 · recommended by 186 people · 5 people recommended both
Agile Software Development, Principles, Patterns, and PracticesRobert C. Martin · 2002 · recommended by 7 people · named together in 2 comments
Agile Project Management with ScrumKen Schwaber · 2004 · recommended by 2 people · similar by subject and what people say about it
Agile Software Development EcosystemsJim Highsmith · 2002 · recommended by 2 people · similar by subject and what people say about it
Domain-Driven DesignEric Evans · 2003 · recommended by 104 people · 3 people recommended both
JUnitKent Beck · 2004 · recommended by 0 people · similar by subject and what people say about it
XUnit Test PatternsGerard Meszaros · 2007 · recommended by 5 people · named together in 2 comments
The clean coderRobert C. Martin · 2011 · recommended by 53 people · 2 people recommended both
The Pragmatic ProgrammerAndy Hunt · 1999 · recommended by 353 people · 6 people recommended both
Code CompleteSteve McConnell · 1993 · recommended by 393 people · 3 people recommended both
Planning extreme programmingKent Beck · 2000 · recommended by 2 people · similar by subject and what people say about it
Software engineering for Internet applicationsEve Astrid Andersson · 2006 · recommended by 10 people · similar by subject and what people say about it
Object-Oriented Analysis and Design with ApplicationsGrady Booch · 1990 · recommended by 7 people · similar by subject and what people say about it
Smalltalk best practice patternsKent Beck · 1997 · recommended by 17 people · named together in 2 comments
Implementation patternsKent Beck · 2007 · recommended by 6 people · similar by subject and what people say about it
The Art of Readable CodeDustin Boswell · 2011 · recommended by 11 people · similar by subject and what people say about it
Extreme programming explainedKent Beck · 1999 · recommended by 23 people · similar by subject and what people say about it
Design PatternsErich Gamma · 1994 · recommended by 95 people · similar by subject and what people say about it
The Practice of ProgrammingBrian W. Kernighan · 1999 · recommended by 90 people · similar by subject and what people say about it
Growing object-oriented software, guided by testsSteve Freeman · 2010 · recommended by 43 people · similar by subject and what people say about it
Growing object-oriented softwareSteve Freeman · 2009 · recommended by 16 people · similar by subject and what people say about it
Test-Driven Development with PythonHarry J.W. Percival · 2014 · recommended by 16 people · similar by subject and what people say about it