Prioritizing test cases for early detection of refactoring faults. (21st March 2016)
- Record Type:
- Journal Article
- Title:
- Prioritizing test cases for early detection of refactoring faults. (21st March 2016)
- Main Title:
- Prioritizing test cases for early detection of refactoring faults
- Authors:
- Alves, Everton L. G.
Machado, Patrícia D. L.
Massoni, Tiago
Kim, Miryung - Abstract:
- Summary: 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 © 2016 John Wiley & Sons, Ltd. Abstract : This article's main contributions are as follows: A test case prioritization technique (RBA) centred on detecting refactoring edits faults earlier. AnSummary: 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 © 2016 John Wiley & Sons, Ltd. Abstract : This article's main contributions are as follows: A test case prioritization technique (RBA) centred on detecting refactoring edits faults earlier. An evaluation of the technique by means of two empirical studies. The studies provide statistical evidence that RBA fosters early detection of refactoring‐related behavioural changes. A new metric for evaluating how spread is the fault‐revealing test cases throughout a prioritized test sequence. … (more)
- Is Part Of:
- Software testing, verification & reliability. Volume 26:Number 5(2016)
- Journal:
- Software testing, verification & reliability
- Issue:
- Volume 26:Number 5(2016)
- Issue Display:
- Volume 26, Issue 5 (2016)
- Year:
- 2016
- Volume:
- 26
- Issue:
- 5
- Issue Sort Value:
- 2016-0026-0005-0000
- Page Start:
- 402
- Page End:
- 426
- Publication Date:
- 2016-03-21
- Subjects:
- test case prioritization -- refactoring -- automated software testing
Computer software -- Testing -- Periodicals
Computer software -- Verification -- Periodicals
Computer software -- Reliability -- Periodicals
005.14 - Journal URLs:
- http://onlinelibrary.wiley.com/ ↗
- DOI:
- 10.1002/stvr.1603 ↗
- Languages:
- English
- ISSNs:
- 0960-0833
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 8321.457500
British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 365.xml