A Preliminary Investigation on the Usage of Quantum Approximate Optimization Algorithms for Test Case Selection
Preprint
Abstract
Regression testing is key in verifying that software works correctly after changes. However, running the entire regression test suite can be impractical and expensive, especially for large-scale systems. Test suite optimization methods are highly effective but often become infeasible due to their high computational demands. In previous work, Trovato et al. proposed SelectQA, an approach based on quantum annealing that outperforms the traditional state-of-the-art methods, i.e., Additional Greedy and DIV-GA, in efficiency. This work envisions the usage of Quantum Approximate Optimization Algorithms (QAOAs) for test case selection by proposing QAOA-TCS. QAOAs merge the potential of gate-based quantum machines with the optimization capabilities of the adiabatic evolution. To prove the effectiveness of QAOAs for test case selection, we preliminarily investigate QAOA-TCS leveraging an ideal environment simulation before evaluating it on real quantum machines. Our results show that QAOAs perform better than the baseline algorithms in effectiveness while being comparable to SelectQA in terms of efficiency. These results encourage us to continue our experimentation with noisy environment simulations and real quantum machines.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- Test Case Minimization with Quantum AnnealersACM Transactions on Software Engineering and Methodology, 2024
- Reformulating regression test suite optimization using quantum annealing - an empirical studyInternational Journal on Software Tools for Technology Transfer, 2024
- Quantum Approximate Optimization Algorithm for Test Case OptimizationIEEE Transactions on Software Engineering, 2024
- Quantum bridge analytics I: a tutorial on formulating and using QUBO modelsAnnals of Operations Research, 2022
- Penalty Weights in QUBO Formulations: Permutation Problems2022
- Improving Multi-Objective Test Case Selection by Injecting Diversity in Genetic AlgorithmsIEEE Transactions on Software Engineering, 2014
- Pareto efficient multi-objective test case selection2007
- A Critique and Improvement of the CL Common Language Effect Size Statistics of McGraw and WongJournal of Educational and Behavioral Statistics, 2000
- Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple TestingJournal of the Royal Statistical Society Series B: Statistical Methodology, 1995