首页> 外文会议>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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号