Growing Object-Oriented Software, Guided by Tests

by Steve Freeman and Nat Pryce

This book provides a practical introduction to Test-Driven Development (TDD), especially in object-oriented programming.

The authors (one of whom is the developer of jMock) explain how unit tests and mock objects lead to a clean object-oriented design with reliable and maintainable code.

In a case study, they design and implement an auction system in Java with a test-driven approach.

I particularly recommend this book to every Java programmer. Once you’ve experienced how tests lead to more elegant design and code, you’ll never want to develop without them again.

🎧 Suitable as an audiobook? No, due to numerous code examples.

Other Recommendations From This Books’s Genres

* Disclosure: We love sharing our favorite books with you! As an Amazon Associate, we earn a small commission from purchases you make through our links, which helps us continue creating content you enjoy.