Test-Driven Development: By Example (Paperback)

Kent Beck

  • 出版商: Addison-Wesley Professional
  • 出版日期: 2002-11-18
  • 定價: USD $49.99
  • 售價: $1,750
  • 貴賓價: 9.8$1,715
  • 語言: 英文
  • 頁數: 240
  • 裝訂: Paperback
  • ISBN: 0321146530
  • ISBN-13: 9780321146533

立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

Test-driven development (TDD) is a new approach to application development that is designed to eliminate the fear often associated with building software. Admittedly, some fear is healthy (often viewed as a conscience that tells programmers to “be careful!” ), but the author believes that programmers build better software when they have the freedom to be creative. By building tests before coding begins, programmers ensure the success of their application from the outset. Students are more likely to achieve positive results with TDD. The author's example-driven approach also teaches students to be better communicators, and encourages team members to seek out constructive criticism.

Table of Contents

Preface.
Acknowledgments.
Introduction.

I. THE MONEY EXAMPLE.

1. Multi-Currency Money.
2. Degenerate Objects.
3. Equality for All.
4. Privacy.
5. Franc-ly Speaking.
6. Equality for All, Redux.
7. Apples and Oranges.
8. Makin' Objects.
9. Times We're Livin' In.
10. Interesting Times.
11. The Root of All Evil.
12. Addition, Finally.
13. Make It.
14. Change.
15. Mixed Currencies.
16. Abstraction, Finally.
17. Money Retrospective.

II. The xUnit Example.

18. First Steps to xUnit.
19. Set the Table.
20. Cleaning Up After.
21. Counting.
22. Dealing with Failure.
23. How Suite It Is.
24. xUnit Retrospective.

III. Patterns for Test-Driven Development.

25. Test-Driven Development Patterns.
26. Red Bar Patterns.
27. Testing Patterns.
28. Green Bar Patterns.
29. xUnit Patterns.
30. Design Patterns.
31. Refactoring.
32. Mastering TDD.
Appendix I: Influence Diagrams.
Appendix II: Fibonacci.
Afterword.