Testing Object-Oriented Systems: Models, Patterns, and Tools
暫譯: 測試物件導向系統:模型、模式與工具

Robert V. Binder

  • 出版商: Addison Wesley
  • 出版日期: 1999-11-07
  • 售價: $1,900
  • 貴賓價: 9.8$1,862
  • 語言: 英文
  • 頁數: 1248
  • 裝訂: Hardcover
  • ISBN: 0201809389
  • ISBN-13: 9780201809381
  • 相關分類: Object-oriented
  • 立即出貨 (庫存=1)

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

商品描述


Table Of Contents

List of Figures.
List of Tables.
List of Procedures.
Foreword.
Preface.
Acknowledgments.

I. PRELIMINARIES.

1. A Small Challenge.
2. How to Use This Book.
Reader Guidance.
Conventions.
FAQs for Object-oriented Testing.
Test Process.

3. Testing: A Brief Introduction.
What Is Software Testing?
Definitions.
The Limits of Testing.
What Can Testing Accomplish?
Bibliographic Notes.

4. With the Necessary Changes: Testing and Object-oriented Software.
The Dismal Science of Software Testing.
Side Effects of the Paradigm.
Language-specific Hazards.
Coverage Models for Object-oriented Testing.
An OO Testing Manifesto.
Bibliographic Notes.

II. MODELS.


5. Test Models.
Test Design and Test Models.
Bibliographic Notes.

6. Combinational Models.
How Combinational Models Support Testing.
How to Develop a Decision Table.
Deriving the Logic Function.
Decision Table Validation.
Test Generation.
Choosing a Combinational Test Strategy.
Bibliographic Notes.

7. State Machines.
Motivation.
The Basic Model.
The FREE State Model.
State-based Test Design.
Bibliographic Notes.

8. A Tester's Guide to the UML.
Introduction.
General-purpose Elements.
Use Case Diagram.
Class Diagram.
Sequence Diagram.
Activity Diagram.
Statechart Diagram.
Collaboration Diagram.
Component Diagram.
Deployment Diagram.
Graphs, Relations, and Testing.
Bibliographic Notes.

III. PATTERNS.


9. Results-oriented Test Strategy.
Results-oriented Testing.
Test Design Patterns.
Test Design Template.

Documenting Test Cases, Suites, and Plans.
Bibliographic Notes.

10. Classes.
Class Test and Integration.
Preliminaries.
Method Scope Test Design Patterns.
Category-Partition.
Combinational Function Test.
Recursive Function Test.
Polymorphic Message Test.

Class Scope Test Design Patterns.
Invariant Boundaries.
Nonmodal Class Test.
Quasi-modal Class Test.
Modal Class Test.

Flattened Class Scope Test Design Patterns.
Polymorphic Server Test.
Modal Hierarchy Test.

Bibliographic Notes.

11. Reusable Components.
Testing and Reuse.
Test Design Patterns.
Abstract Class Test.
Generic Class Test.
New Framework Test.
Popular Framework Test.

Bibliographic Notes.

12. Subsystems.
Subsystems.
Subsystem Test Design Patterns.
Class Association Test.
Round-trip Scenario Test.
Controlled Exception Test.
Mode Machine Test.

Bibliographic Notes.

13. Integration.
Integration in Object-oriented Development.
Integration Patterns.
Subsystem/System Scope.
Big Bang Integration.
Bottom-up Integration.
Top-down Integration.
Collaboration Integration.
Backbone Integration.
Layer Integration.
Client/Server Integration.
Distributed Services Integration.
High-frequency Integration.

Bibliographic Notes.

14. Application Systems.
Testing Application Systems.
Test Design Patterns.
Extended Use Case Test.
Covered in CRUD.
Allocate Tests by Profile.

Implementation-specific Capabilities.
Post-development Testing.
Note on Testing Performance Objectives.
Bibliographic Notes.

15. Regression Testing.
Preliminaries.
Test Patterns.
Retest All.
Retest Risky Use Cases.
Retest by Profile.
Retest Changed Code.
Retest Within Firewall.

Bibliographic Notes.

IV. TOOLS.


16. Test Automation.
Why Testing Must Be Automated.
Limitations and Caveats.

17. Assertions.
Introduction.
Implementation-based Assertions.
Responsibility-based Assertions.
Implementation.
The Percolation Pattern.

Deployment.
Limitations and Caveats.
Some Assertion Tools.
Bibliographic Notes.

18. Oracles.
Introduction.
Oracle Patterns.
Comparators.
Bibliographic Notes.

19. Test Harness Design.
How to Develop a Test Harness.
Test Case Patterns.
Test Case/Test Suite Method.
Test Case/Test Suite Class.
Catch All Exceptions.

Test Control Patterns.
Server Stub.
Server Proxy.

Driver Patterns.
TestDriver Superclass.
Percolate the Object Under Test.
Symmetric Driver.
Subclass Driver.
Private Access Driver.
Test Control Interface.
Drone.
Built-in Test Driver.

Test Execution Patterns.
Command Line Test Bundle.
Incremental Testing Framework.
Fresh Objects.

A Test Implementation Syntax.
Bibliographic Notes.

Appendix. BigFoot's Tootsie: A Case Study.
Requirements.
OOA/D for Capability-driven Testing.
Implementation.

Glossary.
References.
Index. 0201809389T04062001


Back to Top

商品描述(中文翻譯)

目錄

圖表清單
表格清單
程序清單
前言
序言
致謝

I. 基礎知識
1. 一個小挑戰
2. 如何使用本書
讀者指導
約定
物件導向測試常見問題
測試過程

3. 測試:簡介
什麼是軟體測試?
定義
測試的限制
測試能達成什麼?
參考文獻

4. 必要的變更:測試與物件導向軟體
軟體測試的悲慘科學
範式的副作用
語言特定的風險
物件導向測試的覆蓋模型
物件導向測試宣言
參考文獻

II. 模型
5. 測試模型
測試設計與測試模型
參考文獻

6. 組合模型
組合模型如何支持測試
如何開發決策表
推導邏輯函數
決策表驗證
測試生成
選擇組合測試策略
參考文獻

7. 狀態機
動機
基本模型
FREE 狀態模型
基於狀態的測試設計
參考文獻

8. 測試者的 UML 指南
介紹
通用元素
用例圖
類別圖
序列圖
活動圖
狀態圖
協作圖
組件圖
部署圖
圖形、關係與測試
參考文獻

III. 模式
9. 以結果為導向的測試策略
以結果為導向的測試
測試設計模式
測試設計模板
測試案例、套件和計畫的文檔化
參考文獻

10. 類別
類別測試與整合
基礎知識
方法範圍測試設計模式
類別劃分
組合函數測試
遞迴函數測試
多型訊息測試
類別範圍測試設計模式
不變邊界
非模式類別測試
準模式類別測試
模式類別測試
扁平化類別範圍測試設計模式
多型伺服器測試
模式層級測試
參考文獻

11. 可重用元件
測試與重用
測試設計模式
抽象類別測試
泛型類別測試
新框架測試
流行框架測試
參考文獻

12. 子系統
子系統
子系統測試設計模式
類別關聯測試
來回場景測試
控制例外測試
模式機測試
參考文獻

13. 整合
物件導向開發中的整合
整合模式
子系統/系統範圍
大爆炸整合
自下而上整合
自上而下整合
協作整合
骨幹整合
層級整合
客戶/伺服器整合
分散式服務整合
高頻整合
參考文獻

14. 應用系統
測試應用系統
測試設計模式
擴展用例測試
CRUD 覆蓋
按配置分配測試
實作特定能力
開發後測試
測試性能目標的注意事項
參考文獻

15. 回歸測試
基礎知識
測試模式
重新測試所有
重新測試風險用例
按配置重新測試
重新測試變更的代碼
防火牆內重新測試
參考文獻

IV. 工具
16. 測試自動化
為什麼測試必須自動化
限制與注意事項

17. 斷言
介紹
基於實作的斷言
基於責任的斷言
實作
滲透模式
部署
限制與注意事項
一些斷言工具
參考文獻

18. 諮詢
介紹
諮詢模式
比較器
參考文獻

19. 測試工具設計
如何開發測試工具
測試案例模式
測試案例/測試套件方法
測試案例/測試套件類別
捕捉所有例外
測試控制模式
伺服器存根
伺服器代理
驅動模式
測試驅動超類別
滲透被測物件
對稱驅動
子類別驅動
私有訪問驅動
測試控制介面
無人機
內建測試驅動
測試執行模式
命令行測試包
增量測試框架
新物件
測試實作語法
參考文獻

附錄. BigFoot 的 Tootsie:案例研究
需求
針對能力驅動測試的 OOA/D
實作

詞彙表
參考文獻
索引

最後瀏覽商品 (20)