作者:KentBeck
出版社:Addison-WesleyProfessional
副标题:ByExample
出版年:2002-11-18
页数:240
定价:USD49.99
装帧:Paperback
ISBN:9780321146533
内容简介
······
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.
作者简介
······
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.
目录
······
Preface
Acknowledgments
Introduction
PART I. The Money Example
Chapter 1. Multi-Currency Money
Chapter 2. Degenerate Objects
Chapter 3. Equality for All
Chapter 4. Privacy
Chapter 5. Franc-ly Speaking
Chapter 6. Equality for All, Redux
Chapter 7. Apples and Oranges
Chapter 8. Makin' Objects
Chapter 9. Times We're Livin' In
Chapter 10. Interesting Times
Chapter 11. The Root of All Evil
Chapter 12. Addition, Finally
Chapter 13. Make It
Chapter 14. Change
Chapter 15. Mixed Currencies
Chapter 16. Abstraction, Finally
Chapter 17. Money Retrospective
PART II. The xUnit Example
Chapter 18. First Steps to xUnit
Chapter 19. Set the Table
Chapter 20. Cleaning Up After
Chapter 21. Counting
Chapter 22. Dealing with Failure
Chapter 23. How Suite It Is
Chapter 24. xUnit Retrospective
PART III. Patterns for Test-Driven Development
Chapter 25. Test-Driven Development Patterns
Chapter 26. Red Bar Patterns
Chapter 27. Testing Patterns
Chapter 28. Green Bar Patterns
Chapter 29. xUnit Patterns
Chapter 30. Design Patterns
Chapter 31. Refactoring
Chapter 32. Mastering TDD
Appendix I. Influence Diagrams
Appendix II. Fibonacci
Afterword
Index
评论 ······
Kent Beck大牛所作,不过在中国似乎实践起来还是有很大难度
Kent Beck这样的传奇人物写的一本入门书,不看得多可惜。很多内容需要反复咀嚼验证才行,虽然有少量内容有些过时了,但是基本的东西是不会改变的。TDD入门必读经典作品
过段时间还需要重读后半部分
tdd实际上是一种生活态度,即做任何事情之前首先想到如何验证,如何证明自己做的是对的;对过于复杂的事情,划分成小的任务,每个任务都可以验证;
评论前必须登录!
注册