google搜索 51Testing站内搜索                    软件测试门户 | 软件测试培 训 | 文章资料精选 | 软件测试论坛 | 软件测试博客 | 测试招聘求职 
打印

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

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


请问什么是“defect injection”缺陷注入?
你说了听不懂的话,才发现渴望

TOP

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.

TOP

将Defect注射到源程序中。因为很多Defect很不容易在某种机器环境中出现,比如一个用户的机器内存特别少的时候,微软要求程序仍然不能丢失数据和发生安全漏洞,但测试人员不能把测试机器的内存拆下来,也不能非常精确的把内存消耗到期望的数值,这时他们会通过注射一段代码来模拟内存的分配。

TOP

much like what immunization do to keep
people healthy.
really good example

TOP

 
当前时区 GMT+8, 现在时间是 2008-9-7 16:17Copyright(C)上海博为峰软件技术有限公司 2001-2007 电话:021-64471599-8017
当您在访问网站、论坛及博客过程中遇到问题时可发送email:webmaster@51testing.com或发送论坛短信至管理员风在吹