Growing Object-Oriented Software, Guided by Tests

Growing Object-Oriented Software, Guided by Tests

4.17 of 5 stars 4.17  ·  rating details  ·  321 ratings  ·  37 reviews
Foreword by Kent Beck ""The authors of this book have led a revolution in the craft of programming by controlling the environment in which software grows." "--Ward Cunningham" """At last, a book suffused with code that exposes the deep symbiosis between TDD and OOD. This one's a keeper." "--Robert C. Martin ""If you want to be an expert in the state of the art in TDD, you...more
Paperback, 345 pages
Published October 1st 2009 by Addison-Wesley Professional
more details... edit details

Friend Reviews

To see what your friends thought of this book, please sign up.

Community Reviews

(showing 1-30 of 956)
filter  |  sort: default (?)  |  rating details
Stephen

I did not realize how much I still have to learn about writing good object-oriented (OO) code, and about hewing to a tight test driven development (TDD) methodology, before I read Growing Object-Oriented Software, Guided By Tests. My education in OO and unit testing has been largely theoretical, with no time spent directly learning from experienced OO programmers; my best mentor was a COBOL coder. Books like Design Patterns: Elements of Reusable Object-Oriented Software, Patterns of Enterprise A

...more
Jeanne Boyarsky
The person who handed me this book said it was "better than Lasse's book" (Test Driven.) I disagree. One can't compare the two books - Test Driven is meant for beginners and this book is meant for an advanced audience. If you have never written unit tests before, this book is very hard to follow. So put it down, get an intro book and come back.

I really liked the emphasis on making the software responsive to change along with separating acceptance and unit tests. The book uses Junit 4.6 and ther...more
Xing Shi
TDD is hard

I finished Growing Object-Oriented Software Guided by Tests (GOOS) this afternoon. It’ a book that I sincerely hope I would have had the patience to read years ago. It answers one deceivingly simple question in software development that has bothered me for a long time: How to practice TDD (Test Driven Development)?

When I first heard about the Golden Rule of TDD – “Never write new functionality without a failing test”, I was quite skeptical about it. But after several years building so...more
Jean Tessier
Came recommended by Kent Beck. The authors wrote jMock. This books explains how they approach writing tests.

Well worth the read, whether you're new to TDD or if you're a seasoned practitioner. Part I and II lay out how TDD works and the authors' philosophy with regard to writing software. Many other books describe TDD and the authors are candid when it comes to their personal practices. YMMV. Part III is a very comprehensive case study where they use the practices in anger, that is, trying to ac...more
Marshall
A book about Test-Driven Development (TDD), based on Java. It was fantastic to see this style of programming in action. Much of the book was devoted to an example program, which they wrote as they went along, so you saw all the mistakes and discoveries they made along the way. This was supposed to demonstrate how wonderful TDD is for the incremental growth of software, as it adapts to changing requirements. I was amazed to see how absolutely clean the resulting code was, and how tiny their chang...more
Bjoern Rochel
Pretty cool book. I wish I had it 6 years ago. Learned quite a few of the lessons they talk about the hard way in those years. I really, really like the emphasis on growing and nurturing a software design. I've seen too many codebases that slowly but gradually went off the rail because of too much pragmatism or simply the lack of a big picture on what the software was supposed to do and how it actually did it.

Software teams often don't fail delivering the first version of a software. They fail...more
Rene Stein
Nejlepší kniha o testování (Unit testy, Integrační testy, Akceptační testy), kterou jsem četl. Autoři-praktici precizně popisují svůj přístup k vývoji a testování aplikací a nevyhýbají se na konci knihy ani doporučením, jak psát složitější testy, které zohledňují existenci více nezávislých threadů v aplikaci, nebo jak si poradit s testy, které testují metody závislé na aktuálním datu a čase, a nechybí ani příklady testů, které musí ověřit výsledek volání asynchronní operace.

Ke knize bych měl jen...more
Vladyslav
It took me too long to finish the book. First part was quit interesting and promising. I enjoyed reading stories from the author's practice as consultants trying to adopt TDD and unit-testing doctrine in real life. It was interesting to read their props and cons particularly because I have seen myself in the same role at my daily job. I have seen or wished to see. So I tried to learn new tricks to convince colleagues and managers to accept unit-testing as necessary part of the development proces...more
Graham
Growing Object-Oriented Software shows the reader how TDD, done from the inception of a greenfield project, can have a dramatic effect on both the design and correctness of a piece of software. The book covers not only unit testing, but also integration, and end-to-end testing, demonstrating that TDD is effective at every level of granularity. In fact, the examples of integration testing are the strongest aspect of the book, and read like natural language while exercising multiple parts of the s...more
Amy Gilchrist Thorne
I think there's a lot of food for thought in this book. Personally, I can remember reading Martin Fowler's Mocks Aren't Stubs some time ago and concluding that I'd be a "classicist."

Some time later, I started working with mocks as a way to isolate unit tests from "slow" dependencies, such as databases, trying to make them run more quickly. I didn't have much success, though, because I was still writing my tests in a classicist style.

This book helped open my eyes to how the "mockist" style really...more
gargamelscat
This review has been hidden because it contains spoilers. To view it, click here.
Said A
Basically the book about test driven development. If you are new to the concept of TDD, this book will help you get an idea what it is and the process of TDD'ing your next/current project. However, if you are not new to TDD/BDD, I think reading "xUnit Test Patterns: Refactoring Test Code" is a time best spent.

Read it if you're new to TDD, if not got get yourself a copy of "xUnit Test Patterns: Refactoring Test Code" book.
Vasili Puchko
One of the best books on TDD I've seen so far. The only problem is that it's written for Java. A lot of samples are not applicable to .Net due to differences in mocking and unit testing frameworks. But anyway it worth reading.
Igoris Azanovas
I liked the practical way of writing, but there were quite a lot of examples on java mocks which is not my primary language, and it is hard to port some of principles.
All in all good book for intermediate programmer.
Ash Moran
Awesome. Clearest description I've ever seen on how to evolve code test-driven. Also an interesting, if understated, look at software architecture. Tackles some really difficult problems swiftly and elegantly.
Drake
A good persuasive argument in favour of Test-Driven Design/Development, combined with a catalogue of techniques to use in both clean and legacy code bases to improve quality while developing features.
Matt Diephouse
While there were some valuable nuggets that stuck out to me while reading this book (e.g., the distinction between objects and values, the value of writing object internals functionally), much of the bulk of it was either common sense or not highly valuable to me.

Additionally, the use of Java, jUnit, and jMock made the contents not highly relevant to my current line of work writing Objective-C. It is useful to have some insight into the Java world and how testing has influenced it, but Objective...more
Arun
The authors lecture in good details about what we're testing and how they break it down into smaller units of tests, whats the though process behind each iteration, etc. Lots of code samples based on the hypothetical application regarding Auctions. Makes it a little bit easier to follow and understand the real TDD approach.
James
This is the best guide to TDD and emergent design I've read. I have two copies, one of which is permanently loaned out to friends and colleagues.
Tom
A definite must-read for professional developers, this book taught me a lot about incrementally building software that's constantly deployable and maintainable - not only the technical know-how required to do it, but also the mentality needed. Reading the book made me realize that my unit testing skills are woefully lacking in comparison, so I'm grateful that it provides extension tips, tricks, and examples that I can study for improvement. But this book covers much more than unit testing, which...more
Nicolas
This book shows you why, when and how to use mocking to improve the design of you development and to ease the testing process. Not only the unit testing, but end to end as well.

Probably the best demonstration on how to implement TDD I've seen so far.
Collin Rogowski
Best TDD book to date. Very nice introduction to the underlying concepts by discussing real life examples.
Xavier Shay
It started a bit slow so I was concerned, but it really kicked off. Wish I'd read this 4 years ago. The guided walkthrough is good but as with clean code would have been better as a screencast. The final chapters on testing are spectacular.

Key takeaways:
- Focus on the communication between objects.
- Ports and adapters architecture to separate the domain.
- Proper division between unit, integration and acceptance tests.
- Use test builders for complex test setup.
- Transactional tests are a hack bec...more
Cristofer
Learned a lot on Object-Oriented design with this book!
Olaf Lewitz
Best TDD book and best OO book I ever read. Amazing.
Topilno
May 11, 2010 Topilno added it
Shelves: manuals-01
Creating Web Pages for Dummies
Amp Tanawat
It is TDD by Example in advance level.
Vishal
On page 42 and I like it so far.
Mikhail Tomilov
Great book about TDD
Rich Dammkoehler
A Must Read!
« previous 1 3 4 5 6 7 8 9 31 32 next »
There are no discussion topics on this book yet. Be the first to start one »
Growing Object-Oriented Software, Guided by Tests (Kindle Edition)
Growing Object-Oriented Software, Guided by Tests (Addison-Wesley Signature Series)

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »
Was the 2004 Presidential Election Stolen?: Exit Polls, Election Fraud, and the Official Count Aw, Here It Goes! (Kenan and Kel) Is America Stupid?: Legitimate Rape, an Illegitimate President, and the Politics of Nonsense Sacrifice World Travel Adventures: True Encounters from Over 100 Countries by an Ordinary Guy with Extraordinary Experiences

Share This Book

Your website