51Testing软件测试论坛

标题: 请问什么是“defect injection”缺陷注入? [打印本页]

作者: aries1979    时间: 2007-5-26 16:49
标题: 请问什么是“defect injection”缺陷注入?
请问什么是“defect injection”缺陷注入?
作者: pl008    时间: 2007-12-29 14:27
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.
作者: pl008    时间: 2007-12-29 14:34
将Defect注射到源程序中。因为很多Defect很不容易在某种机器环境中出现,比如一个用户的机器内存特别少的时候,微软要求程序仍然不能丢失数据和发生安全漏洞,但测试人员不能把测试机器的内存拆下来,也不能非常精确的把内存消耗到期望的数值,这时他们会通过注射一段代码来模拟内存的分配。
作者: eeeagle    时间: 2008-2-2 00:19
much like what immunization do to keep
people healthy.
really good example




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2