Authors: Kent Beck
ISBN-13: 9780321146533, ISBN-10: 0321146530
Format: Paperback
Publisher: Addison-Wesley
Date Published: November 2002
Edition: New Edition
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.
Presents an approach to writing software that emphasizes automated testing before and during coding. Written for advanced programmers, the book walks through two example projectsmulti-currency arithmetic and the xUnit testing frameworkand 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
Preface | ||
Acknowledgments | ||
Introduction | ||
Pt. I | The Money Example | 1 |
Ch. 1 | Multi-Currency Money | 3 |
Ch. 2 | Degenerate Objects | 11 |
Ch. 3 | Equality for All | 15 |
Ch. 4 | Privacy | 19 |
Ch. 5 | Franc-ly Speaking | 23 |
Ch. 6 | Equality for All, Redux | 27 |
Ch. 7 | Apples and Oranges | 33 |
Ch. 8 | Makin' Objects | 35 |
Ch. 9 | Times We're Livin' In | 39 |
Ch. 10 | Interesting Times | 45 |
Ch. 11 | The Root of All Evil | 51 |
Ch. 12 | Addition, Finally | 55 |
Ch. 13 | Make It | 61 |
Ch. 14 | Change | 67 |
Ch. 15 | Mixed Currencies | 73 |
Ch. 16 | Abstraction, Finally | 77 |
Ch. 17 | Money Retrospective | 81 |
Pt. II | The xUnit Example | 89 |
Ch. 18 | First Steps to xUnit | 91 |
Ch. 19 | Set the Table | 97 |
Ch. 20 | Cleaning Up After | 101 |
Ch. 21 | Counting | 105 |
Ch. 22 | Dealing with Failure | 109 |
Ch. 23 | How Suite It Is | 113 |
Ch. 24 | xUnit Retrospective | 119 |
Pt. III | Patterns for Test-Driven Development | 121 |
Ch. 25 | Test-Driven Development Patterns | 123 |
Ch. 26 | Red Bar Patterns | 133 |
Ch. 27 | Testing Patterns | 143 |
Ch. 28 | Green Bar Patterns | 151 |
Ch. 29 | xUnit Patterns | 157 |
Ch. 30 | Design Patterns | 165 |
Ch. 31 | Refactoring | 181 |
Ch. 32 | Mastering TDD | 193 |
App. I: Influence Diagrams | 207 | |
App. II | Fibonacci | 211 |
Afterword | 215 | |
Index | 217 |