首页> 外文会议>26th IEEE International Conference on Software Maintenance >Automatically repairing test cases for evolving method declarations
【24h】

Automatically repairing test cases for evolving method declarations

机译:自动修复测试用例以改进方法声明

获取原文

摘要

When software systems evolve, for example due to fault fixes, modification of functionalities or refactoring activities, test cases may become obsolete thus generating wrong results or even not being executable or compilable. Maintaining test cases is expensive and time consuming, and often test cases are discarded by software developers due to high maintenance costs. This paper presents TestCareAssistant, a technique that combines data-flow analysis with program diffing for automatically repairing test cases that become obsolete because of changes in method declarations (addition, removal, or type modification of parameters or return values). The paper illustrates the efficacy of TestCareAssistant by analyzing the impact of method declarations changes on the executability of test cases, and by presenting the preliminary results of applying TestCareAssistant to repair 22 test cases.
机译:当软件系统发展时,例如由于故障修复,功能修改或重构活动而导致,测试用例可能会过时,从而产生错误的结果,甚至无法执行或编译。维护测试用例既昂贵又耗时,并且由于维护成本高昂,软件开发人员经常会丢弃测试用例。本文介绍了TestCareAssistant,该技术将数据流分析与程序区分相结合,用于自动修复由于方法声明的更改(参数或返回值的添加,删除或类型​​修改)而过时的测试用例。本文通过分析方法声明更改对测试用例的可执行性的影响,并通过介绍使用TestCareAssistant修复22个测试用例的初步结果,说明了TestCareAssistant的有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号