Design Driven Testing: Test Smarter, Not Harder (Paperback)
暫譯: 設計驅動測試:更聰明地測試,而非更辛苦
Matt Stephens
- 出版商: Apress
- 出版日期: 2010-09-17
- 售價: $2,280
- 貴賓價: 9.5 折 $2,166
- 語言: 英文
- 頁數: 364
- 裝訂: Paperback
- ISBN: 1430229438
- ISBN-13: 9781430229438
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$1,710$1,625 -
$1,311Introduction to Java Programming, Comprehensive Version, 8/e (IE-Paperback)
-
$1,400$1,330 -
$1,960$1,862 -
$2,220$2,109
商品描述
The groundbreaking book Design Driven Testing brings sanity back to the software development process by flipping around the concept of Test Driven Development (TDD)—restoring the concept of using testing to verify a design instead of pretending that unit tests are a replacement for design. Anyone who feels that TDD is “Too Damn Difficult” will appreciate this book.
Design Driven Testing shows that, by combining a forward-thinking development process with cutting-edge automation, testing can be a finely targeted, business-driven, rewarding effort. In other words, you’ll learn how to test smarter, not harder.
- Applies a feedback-driven approach to each stage of the project lifecycle.
- Illustrates a lightweight and effective approach using a core subset of UML.
- Follows a real-life example project using Java and Flex/ActionScript.
- Presents bonus chapters for advanced DDTers covering unit-test antipatterns (and their opposite, “test-conscious” design patterns), and showing how to create your own test transformation templates in Enterprise Architect.
What you’ll learn
- Create unit and behavioral tests using JUnit, NUnit, FlexUnit.
- Generate acceptance tests for all usage paths through use case thread expansion.
- Generate requirement tests for functional requirements.
- Run complex acceptance tests across the enterprise.
- Isolate individual control points for self-contained unit/behavioral tests.
- Apply Behavior Driven Development frameworks like JBehave and NBehave
Who this book is for
Design Driven Testing should appeal to developers, project managers, testers, business analysts, architects...in fact anyone who builds software that needs to be tested. While equally applicable on both large and small projects, Design Driven Testing is especially helpful to those developers who need to verify their software against formal requirements. Such developers will benefit greatly from the rational and disciplined approach espoused by the authors.
Table of Contents
- Somebody Has It Backwards
- TDD Using Hello World
- “Hello World!” Using DDT
- Introducing the Mapplet Project
- Detailed Design and Unit Testing
- Conceptual Design and Controller Testing
- Acceptance Testing: Expanding Use Case Scenarios
- Acceptance Testing: Business Requirements
- Unit Testing Antipatterns (The “Don’ts”)
- Design for Easier Testing
- Automated Integration Testing
- Unit Testing Algorithms
- Alice in Use-Case Land
- ’Twas Brillig and the Slithy Tests
商品描述(中文翻譯)
這本開創性的書籍《設計驅動測試》(Design Driven Testing)透過顛覆測試驅動開發(Test Driven Development, TDD)的概念,將理智帶回軟體開發過程——恢復使用測試來驗證設計的概念,而不是假裝單元測試可以取代設計。任何覺得 TDD「太難了」的人都會欣賞這本書。
《設計驅動測試》顯示,通過將前瞻性的開發過程與尖端的自動化相結合,測試可以成為一項精確針對業務的、有回報的努力。換句話說,您將學會如何更聰明地進行測試,而不是更辛苦地進行測試。
- 對項目生命周期的每個階段應用反饋驅動的方法。
- 使用 UML 的核心子集來說明輕量且有效的方法。
- 以 Java 和 Flex/ActionScript 的實際範例項目為依據。
- 提供進階 DDT 使用者的附加章節,涵蓋單元測試反模式(及其對立面「測試意識」設計模式),並展示如何在 Enterprise Architect 中創建自己的測試轉換模板。
您將學到的內容:
- 使用 JUnit、NUnit、FlexUnit 創建單元測試和行為測試。
- 通過用例線程擴展生成所有使用路徑的驗收測試。
- 為功能需求生成需求測試。
- 在整個企業中運行複雜的驗收測試。
- 隔離單個控制點以進行自包含的單元/行為測試。
- 應用行為驅動開發框架,如 JBehave 和 NBehave。
這本書適合誰:
《設計驅動測試》應該吸引開發人員、項目經理、測試人員、業務分析師、架構師……事實上,任何需要測試的軟體建設者。雖然對大型和小型項目同樣適用,但《設計驅動測試》對那些需要根據正式需求驗證其軟體的開發人員特別有幫助。這些開發人員將從作者所倡導的理性和紀律性方法中獲益良多。
目錄:
1. 誰搞錯了
2. 使用 Hello World 的 TDD
3. 使用 DDT 的「Hello World!」
4. 介紹 Mapplet 項目
5. 詳細設計和單元測試
6. 概念設計和控制器測試
7. 驗收測試:擴展用例場景
8. 驗收測試:業務需求
9. 單元測試反模式(「不應該做的事」)
10. 設計以便於測試
11. 自動化集成測試
12. 單元測試算法
13. 用例國的愛麗絲
14. 當時是 Brillig 和 Slithy 測試