DeepRead
Cover of Working Effectively with Unit Tests

Working Effectively with Unit Tests

Jay Fields · 2016

Programming and computer science › Testing and legacy code

#10,905 most recommended

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

01220172018201920202017 peak · 2
This bookAverage book in Testing and legacy code

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

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
2016
ISBN
9781503242708
Editions known
2 at Open Library
Open Library
OL38926780W

Computer software, testing

Explore in the mosaic

Read next: its neighbours on the mosaic