Test Driven Development: By Example, 1st edition

Published by Addison-Wesley Professional (November 8, 2002) © 2003

  • Kent Beck Boulder Creek, CA

eTextbook

$47.99

  • Available for purchase from all major ebook resellers, including InformIT.com.
  • To request a review copy, click on the "Request a Review Copy" button.
$39.99

  • A print text (hardcover or paperback) 
  • Free shipping
  • Also available for purchase as an ebook from all major ebook resellers, including InformIT.com

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.

Test Driven Development (TDD) is Kent Beck's latest focus; the approach is proven to reduce defects and produce more robust software.

° Write clean code that works with the help of this groundbreaking software method

° Begin to write automated tests that allow you to "test on the fly," and learn to optimize the practice of refactoring

° Example-driven teaching; Kent Beck's step-by-step instruction will have you using TDD to further your projects



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.

Index. 0321146530T10172002

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.


Need help? Get in touch

Video
Play
Privacy and cookies
By watching, you agree Pearson can share your viewership data for marketing and analytics for one year, revocable upon changing cookie preferences. Disabling cookies may affect video functionality. More info...

Pearson eTextbook: What’s on the inside just might surprise you

They say you can’t judge a book by its cover. It’s the same with your students. Meet each one right where they are with an engaging, interactive, personalized learning experience that goes beyond the textbook to fit any schedule, any budget, and any lifestyle.