
Working Effectively with Unit Tests
Jay Fields · 2016
Programming and computer science › Testing and legacy code
#10,905 most recommended
Hacker News
3
mentions by 3 people · top 64% of 15,732 books
Open Library
—
No ratings yet
Wikipedia
—
No article yet
About the book
A practical guide to writing, organising and maintaining unit tests in application code, covering the day-to-day decisions developers face when tests are added, changed and kept alive over a project's life. It focuses on the unit test itself rather than on test frameworks or higher-level test automation. Unit tests are only worth their cost when they stay readable, focused and easy to change, so test code deserves the same care as production code. The book argues that test doubles such as mocks and stubs should be used deliberately, since overusing them couples tests to implementation details and makes them brittle. It presents techniques for keeping tests clear about what behaviour they verify, so that teams get lasting value from them.
Written by Claude from what it knows of this book.
What Hacker News says 100% recommend · 0% critical
In the commenters’ own words
Working Effectively with Unit Tests by Jay Fields[1] is a great book on the subject. There's tons of books out there that are also good, but this is one I…
I tend to disagree but this might be my biases at play. Refactoring starts from first principles, almost all examples include the reverse refactoring as often…
What Open Library readers say
No Open Library reader has rated it yet.
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
- 2016
- ISBN
- 9781503242708
- Editions known
- 2 at Open Library
- Open Library
- OL38926780W
Computer software, testing
Read next: its neighbours on the mosaic
Working effectively with legacy codeMichael C. Feathers · 2004 · recommended by 186 people · similar by subject and what people say about it
It Doesn't Have to Be Crazy at WorkJason Fried · 2018 · recommended by 19 people · loosely similar by subject
Test-driven developmentKent Beck · 2002 · recommended by 30 people · similar by subject and what people say about it
XUnit Test PatternsGerard Meszaros · 2007 · recommended by 5 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
JUnitKent Beck · 2004 · recommended by 0 people · similar by subject and what people say about it
RefactoringMartin Fowler · 1999 · recommended by 94 people · similar by subject and what people say about it
The art of unit testingRoy Osherove · 2009 · recommended by 12 people · similar by subject and what people say about it
Effective JavaJoshua Bloch · 2001 · recommended by 172 people · similar by subject and what people say about it
Effective Software TestingMauricio Aniche · 2022 · recommended by 2 people · similar by subject and what people say about it
Patterns of Enterprise Application ArchitectureMartin Fowler · 2002 · recommended by 34 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
Effective TypeScriptDan Vanderkam · 2019 · recommended by 6 people · similar by subject and what people say about it
Unit TestingVladimir Khorikov · 2020 · recommended by 3 people · similar by subject and what people say about it
Domain-Driven DesignEric Evans · 2003 · recommended by 104 people · similar by subject and what people say about it
Refactoring to PatternsJoshua Kerievsky · 2004 · recommended by 15 people · similar by subject and what people say about it
The effective engineerEdmond Lau · 2015 · recommended by 19 people · similar by subject and what people say about it
Pragmatic Thinking and LearningAndy Hunt · 2008 · recommended by 46 people · similar by subject and what people say about it
Thinking in JavaBruce Eckel · 1997 · recommended by 28 people · similar by subject and what people say about it
Team GeekBen Collins-Sussman · 2012 · recommended by 11 people · similar by subject and what people say about it
Java Concurrency in PracticeBrian Goetz · 2006 · recommended by 53 people · similar by subject and what people say about it
Head First design patternsEric Freeman · 2004 · recommended by 65 people · similar by subject and what people say about it
Effective C++Scott Meyers · 1991 · recommended by 112 people · similar by subject and what people say about it
Agile Software Development, Principles, Patterns, and PracticesRobert C. Martin · 2002 · recommended by 7 people · similar by subject and what people say about it