You are not signed in. Sign in.

List Books: Buy books on ListBooks.org

Test Driven Development: By Example » (New Edition)

Book cover image of Test Driven Development: By Example by Kent Beck

Authors: Kent Beck
ISBN-13: 9780321146533, ISBN-10: 0321146530
Format: Paperback
Publisher: Addison-Wesley
Date Published: November 2002
Edition: New Edition

Find Best Prices for This Book »

Author Biography: Kent Beck

Kent Beck consistently challenges software engineering dogma, promoting ideas like patterns, test-driven development, and Extreme Programming. Currently affiliated with Three Rivers Institute and Agitar Software, he is the author of many Addison-Wesley titles.

Book Synopsis

Presents an approach to writing software that emphasizes automated testing before and during coding. Written for advanced programmers, the book walks through two example projects—multi-currency arithmetic and the xUnit testing framework—and provides patterns for deciding what tests to write and how to write tests using xUnit. The code is written in Java and Python. Annotation c. Book News, Inc., Portland, OR

Table of Contents

Preface
Acknowledgments
Introduction
Pt. IThe Money Example1
Ch. 1Multi-Currency Money3
Ch. 2Degenerate Objects11
Ch. 3Equality for All15
Ch. 4Privacy19
Ch. 5Franc-ly Speaking23
Ch. 6Equality for All, Redux27
Ch. 7Apples and Oranges33
Ch. 8Makin' Objects35
Ch. 9Times We're Livin' In39
Ch. 10Interesting Times45
Ch. 11The Root of All Evil51
Ch. 12Addition, Finally55
Ch. 13Make It61
Ch. 14Change67
Ch. 15Mixed Currencies73
Ch. 16Abstraction, Finally77
Ch. 17Money Retrospective81
Pt. IIThe xUnit Example89
Ch. 18First Steps to xUnit91
Ch. 19Set the Table97
Ch. 20Cleaning Up After101
Ch. 21Counting105
Ch. 22Dealing with Failure109
Ch. 23How Suite It Is113
Ch. 24xUnit Retrospective119
Pt. IIIPatterns for Test-Driven Development121
Ch. 25Test-Driven Development Patterns123
Ch. 26Red Bar Patterns133
Ch. 27Testing Patterns143
Ch. 28Green Bar Patterns151
Ch. 29xUnit Patterns157
Ch. 30Design Patterns165
Ch. 31Refactoring181
Ch. 32Mastering TDD193
App. I: Influence Diagrams207
App. IIFibonacci211
Afterword215
Index217

Subjects