PARTⅠ:The Money Example 1
Chapter 1:Multi-Currency Money 3
Chapter 2:Degenerate Objects 11
Chapter 3:Equality for All 15
Chapter 4:Privacy 19
Chapter 5:Franc-ly Speaking 23
Chapter 6:Equality for All,Redux 27
Chapter 7:Apples and Oranges 33
Chapter 8:Makin Objects 35
Chapter 9:Times We re Livin In 39
Chapter 10:Interesting Times 45
Chapter 11:The Root of All Evil 51
Chapter 12:Addition,Finally 55
Chapter 13:Make It 61
Chapter 14:Change 67
Chapter 15:Mixed Currencies 73
Chapter 16:Abstraction,Finally 77
Chapter 17:Money Retrospective 81
PART Ⅱ:The xUnit Example 89
Chapter 18:First Steps to xUnit 91
Chapter 19:Set the Table 97
Chapter 20:Cleaning Up After 101
Chapter 21:Counting 105
Chapter 22:Dealing with Failure 109
Chapter 23:How Suite It Is 113
Chapter 24:xUnit Retrospective 119
PART Ⅲ:Patterns for Test-Driven Development 121
Chapter 25:Test-Driven Development Patterns 123
Chapter 26:Red Bar Patterns 133
Chapter 27:Testing Patterns 143
Chapter 28:Green Bar Patterns 151
Chapter 29:xUnit Patterns 157
Chapter 30:Design Patterns 165
Chapter 31:Refactoring 181
Chapter 32:Mastering TDD 193
Appendix Ⅰ:Influence Diagrams 207
Appendix Ⅱ:Fibonacci 211
Afterword 215
Index 217