首页> 外文会议>IEEE International Conference on Software Maintenance and Evolution >Interaction-Based Tracking of Program Entities for Test Case Evolution
【24h】

Interaction-Based Tracking of Program Entities for Test Case Evolution

机译:基于交互的测试案例演化的程序实体跟踪

获取原文

摘要

After changes are made to a system, developers typically perform regression testing to uncover the regression faults in previously existing functionality of the system. However, during software evolution, the program entities (i.e., classes/methods) realizing such functionality might be modified/replaced by other entities. Thus, in the new version, existing test cases containing obsolete class references or method calls might be broken or might not test the intended functionality. To repair the broken method calls in those test cases, for each obsolete class/method, a tester needs to find the corresponding entity that provides the same/similar function or has the same role in the new version. To automate that task, we present ITRACK, a novel tool for matching program entities across versions, which mainly relies on their interactions in the code. The key idea is that the role and functionality of an entity correlate with its interactions with other entities (e.g., how it uses or is used by others). Two entities in two versions are matched based on the similarity of their interactions with other entities in the respective versions via our novel iterative matching algorithm. Our empirical evaluation shows that ITRACK achieves from 84-99% accuracy in identifying the calls in previous test cases that need to be adapted in accordance with the replacements of entities and provide such matching to support repairing broken method calls.
机译:在对系统进行更改之后,开发人员通常会执行回归测试以在先前现有的系统的功能中揭示回归故障。然而,在软件演进过程中,可能会被其他实体修改/替换此类功能的程序实体(即类/方法)。因此,在新版本中,包含过时的类引用或方法调用的现有测试用例可能会被损坏,也可能无法测试预期功能。要在这些测试用例中修复损坏的方法调用,对于每个过时的类/方法,测试仪需要找到相同/相似函数的相应实体,或者在新版本中具有相同的角色。为了自动化该任务,我们呈现ITRACK,这是一个用于跨越版本的程序实体匹配的新工具,主要依赖于代码中的交互。关键的想法是实体的角色和功能与其与其他实体的相互作用相关联(例如,它是如何使用的或由他人使用的)。两个版本中的两个实体基于通过我们的新颖迭代匹配算法与各个版本中的其他实体的相互作用的相似性匹配。我们的经验评估表明,ITRACK从84-99 %的准确性达到了识别先前测试用例中需要按照实体的替换进行调整的调整,并提供支持修复破坏方法调用的呼叫。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号