首页> 外文期刊>Software Testing, Verification and Reliability >Directed test suite augmentation: an empirical investigation
【24h】

Directed test suite augmentation: an empirical investigation

机译:定向测试套件扩充:一项实证研究

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Test suite augmentation techniques are used in regression testing to identify code elements in a modified program that are not adequately tested and to generate test cases to cover those elements. A defining feature of test suite augmentation techniques is the potential for reusing existing regression test suites. Our preliminary work suggests that several factors influence the efficiency and effectiveness of augmentation techniques that perform such reuse. These include the order in which target code elements are considered while generating test cases, the manner in which existing regression test cases and newly generated test cases are used, and the algorithm used to generate test cases. In this work, we present the results of two empirical studies examining these factors, considering two test case generation algorithms (concolic and genetic). The results of our studies show that the primary factor affecting augmentation using these approaches is the test case generation algorithm utilized; this affects both cost and effectiveness. The manner in which existing and newly generated test cases are utilized also has a substantial effect on efficiency and in some cases a substantial effect on effectiveness. The order in which target code elements are considered turns out to have relatively few effects when using concolic test case generation but in some cases influences the efficiency of genetic test case generation. The results of our first study, on four relatively small programs using a large number of test suites, are supported by our second study of a much larger program available in multiple versions. Together, the studies reveal a potential opportunity for creating a more cost-effective hybrid augmentation approach leveraging both concolic and genetic test case generation techniques, while appropriately utilizing our understanding of the factors that affect them. Copyright (c) 2014 John Wiley & Sons, Ltd.
机译:在回归测试中使用测试套件增强技术来识别修改后的程序中未经充分测试的代码元素,并生成涵盖这些元素的测试用例。测试套件增强技术的一个定义特征是重用现有回归测试套件的潜力。我们的初步工作表明,几个因素会影响执行此类重用的增强技术的效率和有效性。这些包括在生成测试用例时考虑目标代码元素的顺序,使用现有回归测试用例和新生成的测试用例的方式以及用于生成测试用例的算法。在这项工作中,我们介绍了两项考虑这些因素的实证研究的结果,其中考虑了两种测试用例生成算法(concolic和genetic)。我们的研究结果表明,使用这些方法影响增强的主要因素是所使用的测试用例生成算法。这会影响成本和效率。利用现有和新生成的测试用例的方式也对效率产生重大影响,在某些情况下还对有效性产生重大影响。在使用缩略语测试用例生成时,考虑使用目标代码元素的顺序结果影响相对较小,但在某些情况下会影响基因测试用例生成的效率。我们的第一次研究的结果是,使用多个测试套件对四个相对较小的程序进行了研究,而我们的第二次研究则对具有多个版本的更大程序进行了研究。这些研究共同揭示了潜在的机会,可以利用对策和遗传测试案例生成技术,同时利用我们对影响它们的因素的理解,来创建一种更具成本效益的混合增强方法。版权所有(c)2014 John Wiley&Sons,Ltd.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号