Curated Tech Reading Map

Find your next tech book to read

Book

Test-Driven Development

Kent Beck

Buy on Amazon* The link above is an advertisement via Amazon Associates.

Summary

Kent Beck builds this book around two worked, hands-on examples: a multi-currency exercise developed entirely test-first through the Red-Green-Refactor cycle, and a small xUnit testing framework built from scratch so you see how the tools you rely on actually work underneath. A closing catalog then names the patterns scattered through both examples, covering the red-green-refactor rhythm itself, how to write the tests, and how design patterns emerge once a test forces a decision. Chapters stay short and deliberately narrow, favoring practice you can follow along with over abstract argument, which is why it reads better as a book to type through than one to read cover to cover. It treats tests not as a check added after the code but as the mechanism that drives each design decision at the moment it's made. The book is available in Japanese translation from Ohmsha.

Editor's Note

For those who want to learn TDD hands-on by working through examples. It favors practice over theory, making it a solid first step toward habituating quality; its examples are small, so supplement with other books for production-scale use.

Target Readers

  • Developers who have read about TDD but have never actually worked through the Red-Green-Refactor cycle line by line
  • Intermediate engineers who want tests to drive design decisions rather than just verify code after it's written
  • Programmers curious how a testing framework works internally, who want to build a small one from scratch as a learning exercise

Tags

#tdd#testing#agile

Colophon

Publisher
Ohmsha
ISBN
978-4274217883
Published
Oct 2017
List price
¥3,080incl. taxMay differ from the actual selling price on Amazon

Get this book

* The link above is an advertisement via Amazon Associates.

Prerequisites

Next Books