4.2 Article

Prioritizing test cases for early detection of refactoring faults

期刊

SOFTWARE TESTING VERIFICATION & RELIABILITY
卷 26, 期 5, 页码 402-426

出版社

WILEY
DOI: 10.1002/stvr.1603

关键词

test case prioritization; refactoring; automated software testing

资金

  1. Direct For Computer & Info Scie & Enginr [1460325] Funding Source: National Science Foundation
  2. Division of Computing and Communication Foundations [1460325] Funding Source: National Science Foundation

向作者/读者索取更多资源

Refactoring edits are error-prone, requiring cost-effective testing. Regression test suites are often used as a safety net for decreasing the chances of behavioural changes. Because of the high costs related to handling massive test suites, prioritization techniques can be applied to reorder test case execution, fostering early fault detection. However, traditional prioritization techniques are not specifically designed for detecting refactoring-related faults. This article proposes refactoring-based approach (RBA), a refactoring-aware strategy for prioritizing regression test cases. RBA reorders an existing test sequence, using a set of proposed refactoring fault models that define the refactoring's impact on program methods. Refactoring-based approach's evaluation shows that it promotes early detection of refactoring faults and outperforms well-known prioritization techniques in 71% of the cases. Moreover, it prioritizes fault-revealing test cases close to one another in 73% of the cases, which can be useful for fault localization. Those findings show that RBA can considerably improve prioritization of test cases during perfective evolution, both by increasing fault-detection rates as well as by helping to pinpoint defects introduced by an incorrect refactoring. Copyright (C) 2016 John Wiley & Sons, Ltd.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.2
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据