Growing Object-Oriented Software, Guided by Tests (Paperback)
暫譯: 測試驅動的物件導向軟體成長

Steve Freeman, Nat Pryce

  • 出版商: Addison Wesley
  • 出版日期: 2009-10-01
  • 售價: $2,200
  • 貴賓價: 9.5$2,090
  • 語言: 英文
  • 頁數: 384
  • 裝訂: Paperback
  • ISBN: 0321503627
  • ISBN-13: 9780321503626
  • 相關分類: Object-oriented
  • 立即出貨

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

相關主題

商品描述

Description

Foreword by Kent Beck

 

"The authors of this book have led a revolution in the craft of programming by controlling the environment in which software grows.” --Ward Cunningham

 

“At last, a book suffused with code that exposes the deep symbiosis between TDD and OOD. This one's a keeper.” --Robert C. Martin

 

“If you want to be an expert in the state of the art in TDD, you need to understand the ideas in this book.”--Michael Feathers

 

Test-Driven Development (TDD) is now an established technique for delivering better software faster. TDD is based on a simple idea: Write tests for your code before you write the code itself. However, this "simple" idea takes skill and judgment to do well. Now there's a practical guide to TDD that takes you beyond the basic concepts. Drawing on a decade of experience building real-world systems, two TDD pioneers show how to let tests guide your development and “grow” software that is coherent, reliable, and maintainable.

 

Steve Freeman and Nat Pryce describe the processes they use, the design principles they strive to achieve, and some of the tools that help them get the job done. Through an extended worked example, you’ll learn how TDD works at multiple levels, using tests to drive the features and the object-oriented structure of the code, and using Mock Objects to discover and then describe relationships between objects. Along the way, the book systematically addresses challenges that development teams encounter with TDD--from integrating TDD into your processes to testing your most difficult features. Coverage includes

 

•   Implementing TDD effectively: getting started, and maintaining your momentum

    throughout the project

•   Creating cleaner, more expressive, more sustainable code

•   Using tests to stay relentlessly focused on sustaining quality

•   Understanding how TDD, Mock Objects, and Object-Oriented Design come together

    in the context of a real software development project

•   Using Mock Objects to guide object-oriented designs

•   Succeeding where TDD is difficult: managing complex test data, and testing persistence

    and concurrency

商品描述(中文翻譯)

```

書籍描述




前言由 Kent Beck 撰寫


 


「這本書的作者在程式設計的工藝上引領了一場革命,透過控制軟體成長的環境。」 -- Ward Cunningham


 


「終於,有一本充滿程式碼的書,揭示了 TDD 與 OOD 之間深刻的共生關係。這本書值得保留。」 -- Robert C. Martin


 


「如果你想成為 TDD 領域的專家,你需要理解這本書中的觀念。」 -- Michael Feathers


 


測試驅動開發 (TDD) 現在已成為一種成熟的技術,用於更快地交付更好的軟體。TDD 基於一個簡單的理念:在編寫程式碼之前,先為你的程式碼編寫測試。然而,這個「簡單」的理念需要技巧和判斷力才能做好。現在有一本實用的 TDD 指導書,帶你超越基本概念。兩位 TDD 先驅基於十年的實際系統建設經驗,展示如何讓測試引導你的開發,並「成長」出一致性、可靠性和可維護性的軟體。


 


Steve Freeman 和 Nat Pryce 描述了他們使用的過程、他們努力實現的設計原則,以及幫助他們完成工作的工具。透過一個擴展的實作範例,你將學習 TDD 如何在多個層面上運作,使用測試來驅動功能和程式碼的物件導向結構,並使用 Mock Objects 來發現並描述物件之間的關係。在這個過程中,本書系統性地解決了開發團隊在 TDD 中遇到的挑戰——從將 TDD 整合到你的流程中,到測試你最困難的功能。內容包括:


 


•   有效實施 TDD:開始的步驟,以及在整個專案中保持動力


   


•   創建更乾淨、更具表達性和更可持續的程式碼


•   使用測試持續專注於維持品質


•   理解 TDD、Mock Objects 和物件導向設計如何在實際軟體開發專案中結合


   


•   使用 Mock Objects 來引導物件導向設計


•   在 TDD 困難的情況下取得成功:管理複雜的測試數據,以及測試持久性


    和並發性




```