首页> 外文期刊>ACM transactions on software engineering and methodology >Do Automatically Generated Test Cases Make Debugging Easier? An Experimental Assessment of Debugging Effectiveness and Efficiency
【24h】

Do Automatically Generated Test Cases Make Debugging Easier? An Experimental Assessment of Debugging Effectiveness and Efficiency

机译:自动生成的测试用例会使调试更容易吗?调试效果和效率的实验评估

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

摘要

Several techniques and tools have been proposed for the automatic generation of test cases. Usually, these tools are evaluated in terms of fault-revealing or coverage capability, but their impact on the manual debugging activity is not considered. The question is whether automatically generated test cases are equally effective in supporting debugging as manually written tests. We conducted a family of three experiments (five replications) with humans (in total, 55 subjects) to assess whether the features of automatically generated test cases, which make them less readable and understandable (e.g., unclear test scenarios, meaningless identifiers), have an impact on the effectiveness and efficiency of debugging. The first two experiments compare different test case generation tools (Randoop vs. EvoSuite). The third experiment investigates the role of code identifiers in test cases (obfuscated vs. original identifiers), since a major difference between manual and automatically generated test cases is that the latter contain meaningless (obfuscated) identifiers. We show that automatically generated test cases are as useful for debugging as manual test cases. Furthermore, we find that, for less experienced developers, automatic tests are more useful on average due to their lower static and dynamic complexity.
机译:已经提出了几种用于自动生成测试用例的技术和工具。通常,这些工具是根据故障揭示或覆盖能力来评估的,但是没有考虑它们对手动调试活动的影响。问题是,自动生成的测试用例是否在支持调试方面与手动编写的测试是否同样有效。我们对人类(总共55名受试者)进行了三个系列的实验(五个重复),以评估自动生成的测试用例的功能是否具有较低的可读性和可读性(例如,不清楚的测试场景,无意义的标识符)是否具有对调试的有效性和效率的影响。前两个实验比较了不同的测试用例生成工具(Randoop与EvoSuite)。第三个实验研究了代码标识符在测试案例中的作用(混淆与原始标识符),因为手动生成的测试案例与自动生成的测试案例之间的主要区别在于,后者包含无意义的(混淆的)标识符。我们展示了自动生成的测试用例与手动测试用例一样对调试有用。此外,我们发现,对于经验不足的开发人员而言,自动测试由于其较低的静态和动态复杂度而在平均程度上更有用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号