Growing Object-Oriented Software, Guided by Tests

Growing Object-Oriented Software, Guided by Tests

by Steve Freeman, Nat Pryce

384 pages· 2009· ISBN 9780321699763
About
Test-Driven Development (TDD) is now an established technique for delivering better software faster. TDD is based on a simple idea: Write tests for your code before you write the code itself. However, this "simple" idea takes skill and judgment to do well. Now there's a practical guide to TDD that takes you beyond the basic concepts. Drawing on a decade of experience building real-world systems, two TDD pioneers show how to let tests guide your development and “grow” software that is coherent, reliable, and maintainable. Steve Freeman and Nat Pryce describe the processes they use, the design principles they strive to achieve, and some of the tools that help them get the job done. Through an extended worked example, you’ll learn how TDD works at multiple levels, using tests to drive the features and the object-oriented structure of the code, and using Mock Objects to discover and then describe relationships between objects. Along the way, the book systematically addresses challenges that development teams encounter with TDD—from integrating TDD into your processes to testing your most difficult features. Coverage includes Implementing TDD effectively: getting started, and maintaining your momentum throughout the project Creating cleaner, more expressive, more sustainable code Using tests to stay relentlessly focused on sustaining quality Understanding how TDD, Mock Objects, and Object-Oriented Design come together in the context of a real software development project Using Mock Objects to guide object-oriented designs Succeeding where TDD is difficult: managing complex test data, and testing persistence and concurrency

Discuss Growing Object-Oriented Software, Guided by Tests with other readers

Join or start a book club for Growing Object-Oriented Software, Guided by Tests on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Growing Object-Oriented Software, Guided by Tests?

Sign up free on Readfeed, then browse public clubs or start your own club with Growing Object-Oriented Software, Guided by Tests as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Growing Object-Oriented Software, Guided by Tests with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Growing Object-Oriented Software, Guided by Tests with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.