Test-Driven Development: By Example

Test-Driven Development: By Example

by Kent Beck

star4.1

Beck demonstrates the red-green-refactor cycle of test-driven development through two worked examples (a money example in Java and the xUnit framework in Python), arguing that writing tests first produces cleaner designs and frees programmers from the fear of change. He presents TDD not as a testing technique but as a design discipline in which tests drive the emergence of the code's architecture.

Published:
Pages:
240
Buy on Amazon

In the Conversation

In this collection, Test-Driven Development: By Example references 3 other books.

It draws on Refactoring, The Mythical Man-Month and The Pragmatic Programmer.

Scroll down to read the exact passages where other authors reference this book and what they say about it.

What This Book Draws On

3

The books Beck references and why each one mattered to the argument.

Beck co-authored Fowler's Refactoring and treats the 'refactor' step of the red-green-refactor cycle as direct application of Fowler's catalog - the book is a companion to Refactoring in the Addison-Wesley signature series.

Refactoring

References

Refactoring

by Martin Fowler

Buy

Beck cites Brooks's Mythical Man-Month for its discussion of essential complexity, using it to motivate his claim that TDD manages complexity incrementally rather than through big up-front design.

The Mythical Man-Month

References

The Mythical Man-Month

by Frederick Brooks

Buy

Beck's TDD discipline extends the pragmatic programmer ethos of Hunt and Thomas - writing tested, modular code as a core craft practice rather than an afterthought.

The Pragmatic Programmer

References

The Pragmatic Programmer

by David Thomas

Buy

What Other Authors Say About It

No books citing this title yet.

Intellectual Lineage

How ideas flow through the citation network. Ancestors are books this title builds on; descendants are books that build on it.

Unexpected Connections

Books from completely different categories that share citation overlap with this one. These are the reads you would not find by browsing a single shelf.

If you liked this, try

Books with the highest citation overlap within the same categories.

Citation Network

This book and its direct connections. Hover a node to see its title, click to visit.

Books this book cites
Books that cite this book
Larger dot = more connections
The Mythical Man-MonthThe Pragmatic ProgrammerRefactoring

Hover a node to highlight its connections. Click to open the book page. Node size reflects total citation links.