首页> 外文会议>International Workshop on Automation of Software Test >A refactoring-based approach for test case selection and prioritization
【24h】

A refactoring-based approach for test case selection and prioritization

机译:基于重构的测试用例选择和优先级排序方法

获取原文

摘要

Refactoring edits, commonly applied during software development, may introduce faults in a previously-stable code. Therefore, regression testing is usually applied to check whether the code maintains its previous behavior. In order to avoid rerunning the whole regression suite, test case prioritization techniques have been developed to order test cases for earlier achievement of a given goal, for instance, improving the rate of fault detection during regression testing execution. However, as current techniques are usually general purpose, they may not be effective for early detection of refactoring faults. In this paper, we propose a refactoring-based approach for selecting and prioritizing regression test cases, which specializes selection/prioritization tasks according to the type of edit made. The approach has been evaluated through a case study that compares it to well-known prioritization techniques by using a real open-source Java system. This case study indicates that the approach can be more suitable for early detection of refactoring faults when comparing to the other prioritization techniques.
机译:重构编辑通常在软件开发期间应用,可能会在先前稳定的代码中引入错误。因此,通常使用回归测试来检查代码是否保持其先前的行为。为了避免重新运行整个回归套件,已开发了测试用例优先级排序技术,以对测试用例进行排序,以实现给定目标的更早实现,例如,提高回归测试执行过程中的故障检测率。但是,由于当前的技术通常是通用的,因此它们对于早期检测重构故障可能无效。在本文中,我们提出了一种基于重构的方法来选择回归测试用例并确定其优先级,该方法根据编辑的类型专门选择/确定优先级。通过一个案例研究对该方法进行了评估,该案例通过使用真实的开源Java系统将其与众所周知的优先级排序技术进行比较。此案例研究表明,与其他优先级排序技术相比,该方法可能更适合早期检测重构故障。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号