Test Driven Development: By Example

Test Driven Development: By Example
by Kent Beck

Test Driven Development: By Example
List Price: $49.99
Our Price: $28.02
You Save: $21.97 (44%)
Availability: Usually ships in 1-2 business days
Buy Used: from $21.42 (click here)
Category: Book
See more book details and other editions


or

Book Summary Information

Author: Kent Beck
Edition: Paperback
Audio: English (Unknown); English (Original Language); English (Published)
Published: 2002-11-18
ISBN: 0321146530
Number of pages: 240
Publisher: Addison-Wesley Professional

Book Reviews of Test Driven Development: By Example

Book Review: Good Theory -- But Odd Decisions In Writing
Summary: 4 Stars

Overall, this was a great read. I love books with tiny chapters, giving you good stopping points where you can meditate on what you just read while you're busy with life's other challenges. Beck goes into TDD as well as design concepts such as you might find in Scott Bain's Emergent Design book. Patterns are also lightly discussed.


I also love Kent Beck's casual writing style. For those of us who don't have 16 hours a day to devote to our computer, it's nice to have some humor and casual speaking happening in a book which only a hardcore reader will read -- like myself.

I give the book 4 stars, but there are a few *glaring* question marks.

First, there is no introductory chapter on using JUnit or any other *Unit.
Kent wouldn't have even had to write such a chapter himself - maybe one of the tech reviewers! You have to give the reader something to go on, even if you just merely assume the reader will use JUnit in a CLI dev environment. Or discuss all the assert calls. I dunno. Weird. But not a huge deal, and I knew how it worked already, anyway.

Second, and this is a biggie, why on Earth Kent would choose as an example writing xUnit for the second section is so beyond me I have no words. He hints later that he likes to write a *Unit library for each new language he learns, as an exercise. But, good lord, it's so hard to wrap your brain around incestuous "writing yourself" concept -- couldn't he just written something else? We're trying to learn TDD here. Geez. I mostly skimmed the whole section as it was too hard to follow.

Third, in that same section, Kent decides he will move away from Java, a language most of us already know and, if not, looks like a whole host of other languages so it's easy to follow and fairly verbose. Right, he decides to use -- ready? -- PYTHON! A language very few people know and has some strange idioms. This would be akin to writing the chapter using arcane Ruby or Perl structures. The whole second section has you trying to catch up on the language and the recursive xUnit example so much that it completely distracts from the TDD lessons.

OK, here's a fourth. Two very good examples for TDD are practically side notes. I used his late-book example of a Triangle class to do TDD for real for the first time and it was an excellent example! I did it all and only when I completed it did I read his tests. It was great, and I look forward to trying out the Fibonacci Sequence which is an *appendix*.

Why not put these in the book and explain them?

But it's still a good read. Try to avoid buying it for $40 - $50 though. I read it in 2 days without much effort, so not sure it's worth the price. But it's still very good despite all this.

Summary of Test Driven Development: By Example

Quite simply, test-driven development is meant to eliminate fear in application development. While some fear is healthy (often viewed as a conscience that tells programmers to "be careful!"), the author believes that byproducts of fear include tentative, grumpy, and uncommunicative programmers who are unable to absorb constructive criticism. When programming teams buy into TDD, they immediately see positive results. They eliminate the fear involved in their jobs, and are better equipped to tackle the difficult challenges that face them. TDD eliminates tentative traits, it teaches programmers to communicate, and it encourages team members to seek out criticism However, even the author admits that grumpiness must be worked out individually! In short, the premise behind TDD is that code should be continually tested and refactored. Kent Beck teaches programmers by example, so they can painlessly and dramatically increase the quality of their work.

Software Development Books

Book Subjects
Most talked about in Software Development Books
Advances in Computers, Volume 78: Improving the Web ImageAdvances in Computers, Volume 78: Improving the Web
Academic Press; Published: 2010-04-05; Hardcover; Book
Best price: $164.50
Price in other shops: $171.00
Advances in Computers, Volume 76: Social net working and the web ImageAdvances in Computers, Volume 76: Social net working and the web
Academic Press; Published: 2009-06-25; Hardcover; Book
Best price: $167.00
Price in other shops: $171.00
Practical Model-Based Testing: A Tools Approach ImagePractical Model-Based Testing: A Tools Approach
by Mark Utting, Bruno Legeard
Morgan Kaufmann; Published: 2006-12-11; Hardcover; Book
Best price: $53.99
Price in other shops: $72.95
Fundamentals of Computing: C++ Edition: Abstraction, Data Structures, and Large Software Systems Vol 2: Instructor's Manual and Software ImageFundamentals of Computing: C++ Edition: Abstraction, Data Structures, and Large Software Systems Vol 2: Instructor's Manual and Software
by Allen B. Tucker, W. James Bradley, Robert D. Cupper, Richard D. Epstein, Charles E. Kelemen
McGraw-Hill Inc.,US; Published: 1994-04-01; Paperback; Book
DB2 Universal Database Call-Level Interface (Cli) Developer's Guide: Call Level Interface Cli Developer's Guide (Data Management Series) ImageDB2 Universal Database Call-Level Interface (Cli) Developer's Guide: Call Level Interface Cli Developer's Guide (Data Management Series)
by Roger E. Sanders, Rober E. Sanders
Mcgraw-Hill (Tx); Published: 1999-04; Paperback; Book
Best price: $52.44
Price in other shops: $64.95
MCTS Windows Server 2008 Active Directory Configuration Study Guide: Exam 70-640 ImageMCTS Windows Server 2008 Active Directory Configuration Study Guide: Exam 70-640
by William Panek, James Chellis
Sybex; Published: 2008-05-12; Paperback; Book
Best price: $15.74
Price in other shops: $49.99
Agile Software Development ImageAgile Software Development
by Alistair Cockburn
Addison-Wesley Professional; Published: 2001-10-22; Paperback; Book
Best price: $45.97
Test Process Improvement: A step-by-step guide to structured testing ImageTest Process Improvement: A step-by-step guide to structured testing
by Tim Koomen, Martin Pol
Addison-Wesley Professional; Published: 1999-06-07; Hardcover; Book
Best price: $38.99
Price in other shops: $54.99
The Mythical Man-Month: Essays on Software Engineering ImageThe Mythical Man-Month: Essays on Software Engineering
by Frederick Phillips Brooks
Addison-Wesley; Published: 1975-01; Paperback; Book
Best price: $5.97
Price in other shops: $24.75
A Practical Guide to Distributed Scrum ImageA Practical Guide to Distributed Scrum
by Elizabeth Woodward, Steffan Surdek, Matthew Ganis
IBM Press; Published: 2010-07-01; Paperback; Book
Best price: $26.58
Price in other shops: $44.99
Similar Books and other products
Succeeding with Agile: Software Development Using Scrum ImageSucceeding with Agile: Software Development Using Scrum
by Mike Cohn
Addison-Wesley Professional; Published: 2009-11-05; Paperback; Book
Best price: $33.57
Price in other shops: $49.99
User Stories Applied: For Agile Software Development ImageUser Stories Applied: For Agile Software Development
by Mike Cohn
Addison-Wesley Professional; Published: 2004-03-11; Paperback; Book
Best price: $34.96
Price in other shops: $54.99
Extreme Programming Explained: Embrace Change (2nd Edition) ImageExtreme Programming Explained: Embrace Change (2nd Edition)
by Kent Beck, Cynthia Andres
Addison-Wesley Professional; Published: 2004-11-26; Paperback; Book
Best price: $30.68
Price in other shops: $44.99
Growing Object-Oriented Software, Guided by Tests ImageGrowing Object-Oriented Software, Guided by Tests
by Steve Freeman, Nat Pryce
Addison-Wesley Professional; Published: 2009-10-22; Paperback; Book
Best price: $31.76
Price in other shops: $49.99
Design Patterns: Elements of Reusable Object-Oriented Software ImageDesign Patterns: Elements of Reusable Object-Oriented Software
by Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides
Addison-Wesley Professional; Published: 1994-11-10; Hardcover; Book
Best price: $35.45
Price in other shops: $59.99
The Pragmatic Programmer: From Journeyman to Master ImageThe Pragmatic Programmer: From Journeyman to Master
by Andrew Hunt, David Thomas
Addison-Wesley Professional; Published: 1999-10-30; Paperback; Book
Best price: $35.60
Price in other shops: $49.99
Working Effectively with Legacy Code ImageWorking Effectively with Legacy Code
by Michael Feathers
Prentice Hall; Published: 2004-10-02; Paperback; Book
Best price: $38.33
Price in other shops: $59.99
Refactoring: Improving the Design of Existing Code ImageRefactoring: Improving the Design of Existing Code
by Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts
Addison-Wesley Professional; Published: 1999-07-08; Hardcover; Book
Best price: $25.00
Price in other shops: $64.99
Clean Code: A Handbook of Agile Software Craftsmanship ImageClean Code: A Handbook of Agile Software Craftsmanship
by Robert C. Martin
Prentice Hall; Published: 2008-08-11; Paperback; Book
Best price: $32.89
Price in other shops: $49.99
The Art of Unit Testing: With Examples in .Net ImageThe Art of Unit Testing: With Examples in .Net
by Roy Osherove
Manning Publications; Published: 2009-07-05; Paperback; Book
Best price: $21.99
Price in other shops: $39.99