Reformulating Regression Test Suite Optimization using Quantum Annealing -- an Empirical Study

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Trovato, Antonio, De Stefano, Manuel, Pecorelli, Fabiano, Di Nucci, Dario, De Lucia, Andrea
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912206376927232
author Trovato, Antonio
De Stefano, Manuel
Pecorelli, Fabiano
Di Nucci, Dario
De Lucia, Andrea
author_facet Trovato, Antonio
De Stefano, Manuel
Pecorelli, Fabiano
Di Nucci, Dario
De Lucia, Andrea
contents Maintaining software quality is crucial in the dynamic landscape of software development. Regression testing ensures that software works as expected after changes are implemented. However, re-executing all test cases for every modification is often impractical and costly, particularly for large systems. Although very effective, traditional test suite optimization techniques are often impractical in resource-constrained scenarios, as they are computationally expensive. Hence, quantum computing solutions have been developed to improve their efficiency but have shown drawbacks in terms of effectiveness. We propose reformulating the regression test case selection problem to use quantum computation techniques better. Our objectives are (i) to provide more efficient solutions than traditional methods and (ii) to improve the effectiveness of previously proposed quantum-based solutions. We propose SelectQA, a quantum annealing approach that can outperform the quantum-based approach BootQA in terms of effectiveness while obtaining results comparable to those of the classic Additional Greedy and DIV-GA approaches. Regarding efficiency, SelectQA outperforms DIV-GA and has similar results with the Additional Greedy algorithm but is exceeded by BootQA.
format Preprint
id arxiv_https___arxiv_org_abs_2411_15963
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Reformulating Regression Test Suite Optimization using Quantum Annealing -- an Empirical Study
Trovato, Antonio
De Stefano, Manuel
Pecorelli, Fabiano
Di Nucci, Dario
De Lucia, Andrea
Software Engineering
Emerging Technologies
Maintaining software quality is crucial in the dynamic landscape of software development. Regression testing ensures that software works as expected after changes are implemented. However, re-executing all test cases for every modification is often impractical and costly, particularly for large systems. Although very effective, traditional test suite optimization techniques are often impractical in resource-constrained scenarios, as they are computationally expensive. Hence, quantum computing solutions have been developed to improve their efficiency but have shown drawbacks in terms of effectiveness. We propose reformulating the regression test case selection problem to use quantum computation techniques better. Our objectives are (i) to provide more efficient solutions than traditional methods and (ii) to improve the effectiveness of previously proposed quantum-based solutions. We propose SelectQA, a quantum annealing approach that can outperform the quantum-based approach BootQA in terms of effectiveness while obtaining results comparable to those of the classic Additional Greedy and DIV-GA approaches. Regarding efficiency, SelectQA outperforms DIV-GA and has similar results with the Additional Greedy algorithm but is exceeded by BootQA.
title Reformulating Regression Test Suite Optimization using Quantum Annealing -- an Empirical Study
topic Software Engineering
Emerging Technologies
url https://arxiv.org/abs/2411.15963