首页> 外文期刊>Software Testing, Verification and Reliability >Can fault-exposure-potential estimates improve the fault detection abilities of test suites?
【24h】

Can fault-exposure-potential estimates improve the fault detection abilities of test suites?

机译:故障暴露潜力估计值可以提高测试套件的故障检测能力吗?

获取原文
获取原文并翻译 | 示例
       

摘要

Code-coverage-based test data adequacy criteria typically treat all coverable code elements (such as statements, basic blocks or outcomes of decisions) as equal. In practice, however, the probability that a test case can expose a fault in a code element varies: some faults are more easily revealed than others. Thus, several researchers have suggested that if one could estimate the probability that a fault in a code element will cause a failure, one could use this estimate to determine the number of executions of a code element that are required to achieve a certain level of confidence in that element's correctness. This estimate, in turn, could be used to improve the fault-detection effectiveness of test suites and help testers distribute testing resources more effectively. This conjecture is intriguing; however, like many such conjectures it has never been directly examined empirically. If empirical evidence were to support this conjecture, it would motivate further research into methodologies for obtaining fault-exposure-potential estimates and incorporating them into test data adequacy criteria. This paper reports the results of experiments conducted to investigate the effects of incorporating an estimate of fault-exposure probability into the statement coverage test data adequacy criterion. The results of these experiments, however, ran contrary to the conjectures of previous researchers. Although incorporation of the estimates did produce statistically significant increases in the fault-detection effectiveness of test suites, these increases were quite small, suggesting that the approach might not be able to produce the gains hoped for and might not be worth the cost of its employment.
机译:基于代码覆盖率的测试数据充分性标准通常将所有可覆盖的代码元素(例如语句,基本块或决策结果)均等对待。但是,实际上,测试用例可能暴露代码元素中的错误的可能性各不相同:某些错误比其他错误更容易发现。因此,一些研究人员建议,如果可以估计代码元素中的错误将导致失败的可能性,则可以使用该估计值来确定达到一定置信度所需的代码元素的执行次数。该元素的正确性。反过来,此估计值可用于提高测试套件的故障检测效率,并帮助测试人员更有效地分配测试资源。这个猜想很有趣。但是,像许多这样的猜想一样,它从未经过经验的直接检验。如果经验证据支持这一推测,它将激发人们进一步研究获取故障暴露潜力估计并将其纳入测试数据充分性标准的方法。本文报告了为调查将故障暴露概率的估计值合并到语句覆盖率测试数据充分性准则而产生的影响的实验结果。然而,这些实验的结果与先前研究人员的推测背道而驰。尽管将估计值合并的确在测试套件的故障检测效率方面产生了统计上显着的增加,但是这些增加非常小,这表明该方法可能无法产生希望的收益,并且可能不值得花其雇用的成本。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号