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

商品描述(中文翻譯)

```

目錄

圖表清單
表格清單
程序清單
前言
前言
致謝
第一部分:前置知識
1. 一個小挑戰
2. 如何使用本書
讀者指南
慣例
面向對象測試的常見問題
測試流程
3. 測試:簡介
軟體測試是什麼?
定義
測試的限制
測試能夠達到什麼目的?
參考文獻
4. 隨著必要的變化:測試和面向對象軟體
軟體測試的悲觀科學
范式的副作用
特定語言的風險
面向對象測試的覆蓋模型
面向對象測試宣言
參考文獻

第二部分:模型
5. 測試模型
測試設計和測試模型
參考文獻
6. 組合模型
組合模型如何支持測試
如何開發決策表
推導邏輯函數
決策表驗證
測試生成
選擇組合測試策略
參考文獻
7. 狀態機
動機
基本模型
自由狀態模型
基於狀態的測試設計
參考文獻
8. 測試人員的UML指南
簡介
通用元素
用例圖
類圖
序列圖
活動圖
狀態圖
協作圖
組件圖
部署圖
圖形、關係和測試
參考文獻

第三部分:模式
9. 結果導向的測試策略
結果導向的測試
測試設計模式
測試設計模板
測試案例、套件和計劃的文檔化
參考文獻
10. 類
類的測試和整合
前提條件
方法範圍的測試設計模式
類別分區
組合函數測試
遞歸函數測試
多態消息測試
類範圍的測試設計模式
不變邊界
非模態類測試
準模態類測試
模態類測試
扁平化類範圍的測試設計模式
多態服務器測試
模態層次結構測試
參考文獻
11. 可重用組件
測試和重用
測試設計模式
抽象類測試
通用類測試
新框架測試
流行框架測試
參考文獻
12. 子系統
子系統
子系統測試設計模式
類關聯測試
往返場景測試
受控異常測試
模式機測試
```