26th out of 92 books
—
159 voters
Test Driven Development: By Example
by
Kent Beck
-- Write clean code that works with the help of this groundbreaking software method.-- Begin to write automated tests that allow you to "test on the fly, " and learn to optimize the practice of refactoring.
-- Example-driven teaching; Kent Beck's step-by-step instruction will have you using TDD to further your projects.
Quite simply, test-driven development is meant to elimi...more
-- Example-driven teaching; Kent Beck's step-by-step instruction will have you using TDD to further your projects.
Quite simply, test-driven development is meant to elimi...more
Paperback, 216 pages
Published
November 8th 2002
by Addison-Wesley Professional
(first published January 1st 2002)
Friend Reviews
To see what your friends thought of this book,
please sign up.
Community Reviews
(showing
1-30
of
1,347)
This is one of those books that I would have rated more highly a few years ago. TDD is not a particularly complicated concept and, these days, it's not particularly new either. Thus, the explanations I've come across online[1] and the one book I've read on the topic[2] have been quite sufficient exposure, making reading another book on the topic superfluous.
That said, Beck's book was, in my opinion, better than Test-Driven Development: A Practical Guide by David Astels. Astels' book is not bad,...more
That said, Beck's book was, in my opinion, better than Test-Driven Development: A Practical Guide by David Astels. Astels' book is not bad,...more
This book has a simple purpose: show in clear and understandable language how to approach TDD. Nothing more or less, and he succeeds very well.
Other reviewers have commented that they were annoyed about how this book didn't cover mocks and stubs and a lot of the other artefacts of testing - that wasn't Beck's purpose, he wanted to show how it's done and then catalogue the patterns needed in order to make it work. While he covered mock and null objects he didn't go into the details because these...more
Other reviewers have commented that they were annoyed about how this book didn't cover mocks and stubs and a lot of the other artefacts of testing - that wasn't Beck's purpose, he wanted to show how it's done and then catalogue the patterns needed in order to make it work. While he covered mock and null objects he didn't go into the details because these...more
This is a different kind of programming book. It's a relatively fun book to read.
It's a good companion's to Fowler's Refactoring. For some reason, I'll always remember Beck from his 'coding smells' concept - it comes from his grandma saying "if it smells [bad:], change it" or something like that.
It too is non-intuitive at first and goes against a lot of learnings. But, all great concepts start out that way. It essentially tells you to write your tests first and (only then), write the smallest...more
It's a good companion's to Fowler's Refactoring. For some reason, I'll always remember Beck from his 'coding smells' concept - it comes from his grandma saying "if it smells [bad:], change it" or something like that.
It too is non-intuitive at first and goes against a lot of learnings. But, all great concepts start out that way. It essentially tells you to write your tests first and (only then), write the smallest...more
I must have read this back when it came out because I remember some of the jokes. This is a fascinating book about TDD, esp. if you read it now, given the maturation of the development model. On p. 199 there is a tantalizing section on "Application" TDD, where in a paragraph Beck anticipates BDD -- and how hard BDD can be if you don't properly rope in stakeholders as collaborators. I don't think we've figured that one out yet.
The book is a weird mix. First there's a section where Beck uses TDD t...more
The book is a weird mix. First there's a section where Beck uses TDD t...more
Such a wonderfully written book on Test-Driven Development (TDD). It walks through several easy-to-follow examples, and then wraps up with a nice discussion of TDD and some of the patterns that show up during this style of development. This book is a breeze to read, and very enlightening. I'm so tired of ugly code that breaks all the time, so I was hoping to be persuaded that TDD really is the best way to "write clean code that works." This book definitely persuaded me.
The surprising thing was h...more
The surprising thing was h...more
Salient features of the book:
- teeny-tiny chapters which helps you to read through the chapters swiftly.
- First section totally deals with how TDD can be applied by using an example.
- Third section explains useful patterns which can be used in TDD.
- Easy to understand english, with humor sprinkled through out the book.
- Authored by Kent Beck of JUnit, Extreme Programming fame.
I couldn’t manage to digest the contents of the 2nd section which deals with the creating of a testing framework called x...more
- teeny-tiny chapters which helps you to read through the chapters swiftly.
- First section totally deals with how TDD can be applied by using an example.
- Third section explains useful patterns which can be used in TDD.
- Easy to understand english, with humor sprinkled through out the book.
- Authored by Kent Beck of JUnit, Extreme Programming fame.
I couldn’t manage to digest the contents of the 2nd section which deals with the creating of a testing framework called x...more
I liked this bug in as much as it talks about adding tests. But it's far too simple, almost to the point to the point of being simplistic. It barely covers Mocks, does not discuss heavily data driven tests, doesn't discuss the complexities of altering existing code, or working with a 3rd party library, working with time or thread dependent code, and doesn't talk about how test driven development may involve refactoring of not only the code, but also of the test framework itself.
I realize that th...more
I realize that th...more
This fairly slim tome is overflowing with useful information from the 2 worked examples of real-world problems being solved by the author (Kent Beck, of XP and Smalltalk fame, among other things) using Test Driven Development.
The book starts with TDD being applied to the problem of doing multi-currency conversions with given exchange rates. Kent Beck does a chapter per test and associated refactoring, and this leads to extremely short chapters but where almost the entire chapter is useful infor...more
The book starts with TDD being applied to the problem of doing multi-currency conversions with given exchange rates. Kent Beck does a chapter per test and associated refactoring, and this leads to extremely short chapters but where almost the entire chapter is useful infor...more
Should be required reading for all programmers. Basically this is Extreme Programming with a more politically correct title. I like this style of programming and preach it religiously to developers. It's a very difficult paradigm shift for most engineers to think about test uses cases before design. But once they see the beauty of unit tests married to their code, there a very few engineers that want to go back to the days of hunting and pecking through a large application for the purpose of deb...more
Kent Beck clearly illustrates the methodologies and practices involved with utilizing a Test Driven Development approach to software creation. This clarity of vision allows the reader to sit inside Kent's head as he works his way through a sample financial currency converter built via TDD. Beck carefully incorporates the philosophy, science, practice, or art of refactoring into all of his examples. One of the lighter and more enjoyable reads on TDD, this books falls short only on the small secti...more
THis book changed the way I look at programming. The biggest thing it did was helped me figure out how to get out of corners. In many cases, I'm confused with where to start or where to go next to complete a project or solve a problem. Sometimes it is just about breaking your work up into small enough pieces. Using TDD, you are forced to. You need to pull apart what you are doing into testable units.
Excellent, carefully written, step-by-step description of TDD. This is the real microscopic end of the development cycle, and intends to teach the smallest possible steps you can work in. The "test-driven test framework" chapter is brilliant, and well worth working through in another language (I did it in Ruby).
The only big downside is that this was written before the significance of mocks became known, so read Growing Object-Oriented Software, Guided by Tests (wich is completely on the other en...more
The only big downside is that this was written before the significance of mocks became known, so read Growing Object-Oriented Software, Guided by Tests (wich is completely on the other en...more
This is a short, easy to read introduction to TDD. I was a bit skeptical because I heard a lot of people complaining about this book not being realistic. While I agree with them in the "not real world stuff" part, I think they are missing the point. This book is not about how to test big systems, nor is it really about testing (in the traditional sense), but about developing software in an incremental and piecemeal way.
If you are looking for an introduction to TDD, this book is for you. If what...more
If you are looking for an introduction to TDD, this book is for you. If what...more
Mar 10, 2010
Riggs
added it
gute, praxisnahe und kurzweilige Einführung!
| topics | posts | views | last activity | |
|---|---|---|---|---|
| Waters Software: Kent Beck: Test Driven Development By Example | 1 | 1 | May 08, 2013 03:08am |

Loading...









view 1 comment





























