Part II: Testing Fundamentals第二部分:测试基础
4 Examining the Specification检查产品说明书
Getting Started
Black-Box and White-Box Testing黑盒测试和白盒测试
Static and Dynamic Testing静态测试和动态测试
Static Black-Box Testing: Testing the Specification静态黑盒测试:测试产品说明书
Performing a High-Level Review of the Specification对产品说明书执行高层次审查
Pretend to Be the Customer假设自己是客户
Research Existing Standards and Guidelines研究现有的标准和规范
Review and Test Similar Software审查和测试类似软件
Low-Level Specification Test Techniques产品说明书的低层次测试技术
Specification Attributes Checklist产品说明书属性检查清单
Specification Terminology Checklist产品说明书术语检查清单
Summary本章小结
Quiz小测验
5 Testing the Software with Blinders On戴上眼罩测试软件
Dynamic Black-Box Testing: Testing the Software While Blindfolded动态黑盒测试:蒙上眼睛测试软件
Test-to-Pass and Test-t0-Fail通过性测试和失效性测试
Equivalence Partitioning等价类划分
Data Testing基于数据的测试
Boundary Conditions边界条件
Sub-Boundary Conditions次边界条件
Default, Empty, Blank, Null, Zero, and None默认、空白、空值、无效、零和无
Invalid, Wrong, Incorrect, and Garbage Data非法、错误、不正确和垃圾数据
State Testing基于状态的测试
Testing the Software’s Logic Flow测试软件的逻辑流程
Testing States to Fail失败状态测试
Other Black-Box Test Techniques其他黑盒测试技术
Behave Like a Dumb User像笨拙的用户那样做
Look for Bugs Where You’ve Already Found Them在已经找到软件缺陷的地方再找找
Think like a Hacker像黑客一样思考问题
Follow Experience, Intuition, and Hunches凭经验、直觉和预感
Summary本章小结
Quiz小测验
6 Examining the Code检查代码
Static White-Black Testing: Examining the Design and Code静态白盒测试:检查设计和代码
Formal Reviews正式检查
Peer Reviews 同行评审
Walkthroughs走读
Inspections检验
Coding Standards and Guidelines编码标准和规范
Examples of Programming Standards and Guidelines编程标准和规范示例
Obtaining Standards获取标准
Generic Code Review Checklist通用代码审查清单
Data Reference Errors数据引用错误
Data Declaration Errors数据声明错误
Computation Errors计算错误
Comparison Errors比较错误
Control Flow Errors控制流程错误
Subroutine Parameter Errors子程序参数错误
Input/Output Errors输入/输出错误
Other Checks其它检查
Summary本章小结
Quiz小测验
7 Testing the Software with X-Ray Glasses戴上X光眼镜测试软件
Dynamic White-Box Testing动态白盒测试
Dynamic White-Box Testing Versus Debugging比较动态白盒测试与调试
Testing the Pieces分段测试
Unit and Integration Testing单元测试和集成测试
An Example of Module Testing单元测试示例
Data Coverage数据覆盖
Data Flow数据流
Sub-Boundaries次边界
Formulas and Equations公式和等式
Error Forcing错误强制
Code Coverage代码覆盖
Program Statement and Line Coverage程序语句和代码行覆盖
Branch Coverage分支覆盖
Condition Coverage条件覆盖
Summary本章小结
Quiz小测验