51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 5386|回复: 3
打印 上一主题 下一主题

请问什么是“defect injection”缺陷注入?

[复制链接]

该用户从未签到

1#
发表于 2007-12-29 14:27:06 | 显示全部楼层
This technique is also call fault seeding and testing
(Mills, 1972). The idea is to inject known faults into the software system, and then use
testing to catch both injectedseeded faults and original faults to ensure that certain
types of defects are detected and removed, much like what immunization do to keep
people healthy.
回复 支持 反对

使用道具 举报

该用户从未签到

2#
发表于 2007-12-29 14:34:07 | 显示全部楼层
将Defect注射到源程序中。因为很多Defect很不容易在某种机器环境中出现,比如一个用户的机器内存特别少的时候,微软要求程序仍然不能丢失数据和发生安全漏洞,但测试人员不能把测试机器的内存拆下来,也不能非常精确的把内存消耗到期望的数值,这时他们会通过注射一段代码来模拟内存的分配。
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-9-20 17:04 , Processed in 0.063092 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表