测试方法
(1)黑盒测试
不关注被测对象内部结构和设计,关注被测对象的功能表现,仅从用户需求考虑,是否满足用户需求
参考依据:需求规格说明书
(2)白盒测试
关注被测对象的内部结构和设计,不关注被测对象的功能表现(结构测试、逻辑驱动测试)
需要很深的代码功底,成本较高
(3)灰盒测试
不仅关注被测对象的外部特征还要关注其内部结构和设计
(4)静态测试
不执行被测对象程序,不运行被测对象的测试方法
如检查文档设计、代码设计
(5)动态测试
执行被测对象进行的测试方法
(6)手工测试
通过测试工程师试用、验证被测对象是否满足用户需求
可以充分发挥主观能动性,但是比较枯燥
(7)自动化测试
通过自动化测试工具或脚本自动化完成测试
优点:快速,可重用,可以模拟常人难以做的重复操作
缺点:不能发现新的缺陷