Test-Driven Development: A Practical Guide (Paperback)

David Astels

  • 出版商: Prentice Hall
  • 出版日期: 2003-07-12
  • 售價: $1,998
  • 貴賓價: 9.5$1,898
  • 語言: 英文
  • 頁數: 592
  • 裝訂: Paperback
  • ISBN: 0131016490
  • ISBN-13: 9780131016491
  • 相關分類: TDD 測試導向開發
  • 立即出貨 (庫存 < 3)




A practical treatment of Test Driven Development — a thoroughly modern approach to building software that is rapidly gaining acceptance.

  • A practical complimentary book to Kent Beck's Test-Driven Development!
  • Ensures robust, bug-free software by advocating testing before coding!
  • Key points are illuminated by examples in Java!
This book teaches programmers how to make Test Driven Development (TDD) work in their organization. TDD is unique because it forces the programmer to write tests for code before the code is actually written. This process is the reverse of how software testing has traditionally been conducted, but TDD ensures that software is produced more efficiently. A test-first mentality allows the programmer to define, specify, illustrate, limit, and drive the code, resulting in documented, tested, code that is as simple and lean as possible. The book also presents tools and techniques, and all major points are supported by numerous examples (including an entire project, end-to-end) and exercises.

Dave Astels has close to twenty years' experience as a software developer in areas ranging from embedded environment control to intellectual property protection systems to electrical energy trading systems. For more than a decade, he has been working exclusively with object technology. He runs his own consulting company specializing in Extreme Programming and pervasive Java solutions. He is the co-author of A Practical Guide to extreme Programming (ISBN 0130674826).




這本書是對測試驅動開發(Test Driven Development,TDD)的實際應用的介紹,這是一種快速獲得認可的現代軟體開發方法。這本書是Kent Beck的《測試驅動開發》的實用補充。它通過在編碼之前進行測試來確保穩健、無錯誤的軟體。書中使用Java舉例來闡明關鍵點。本書教導程式設計師如何在組織中實現測試驅動開發(TDD)。TDD的獨特之處在於它要求程式設計師在編寫程式碼之前為其編寫測試。這個過程與傳統的軟體測試方式相反,但TDD確保軟體的生產效率更高。先測試的思維方式使程式設計師能夠定義、說明、示範、限制和驅動程式碼,從而產生經過文件化和測試的程式碼,使其盡可能簡單和精簡。本書還介紹了工具和技術,並通過眾多示例(包括一個完整的項目)和練習來支持所有主要觀點。

Dave Astels擁有近二十年的軟體開發經驗,涵蓋範圍從嵌入式環境控制到知識產權保護系統再到電力交易系統。十多年來,他一直專注於物件技術。他經營自己的諮詢公司,專門從事極限編程和普遍的Java解決方案。他是《極限編程實踐指南》(ISBN 0130674826)的合著者。