4.2 Article

Prioritizing test cases for early detection of refactoring faults

Journal

SOFTWARE TESTING VERIFICATION & RELIABILITY
Volume 26, Issue 5, Pages 402-426

Publisher

WILEY
DOI: 10.1002/stvr.1603

Keywords

test case prioritization; refactoring; automated software testing

Funding

  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

Ask authors/readers for more resources

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.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.2
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available