Published In

IET Software

Document Type

Article

Publication Date

2-2022

Subjects

Quantum Algorithms --Testing

Abstract

Combinatorial testing (CT) can efficiently detect failures caused by interactions of parameters of software under test. The CT study has undergone a transition from traditional CT to constrained CT, which is crucial for real-world systems testing. Under this scenario, constrained covering array generation (CCAG), a vital combinatorial optimisation issue targeted with constructing a test suite of minimal size while properly addressing constraints, remains challenging in CT. To the authors’ best knowledge, this paper presents a synergic method first based on quantum particle swarm optimisation (QPSO) for the CCAG problems. Three auxiliary strategies, including contraction-expansion coefficient adaptive change strategy, differential evolution strategy, and discretisation strategy, are proposed to improve the performance of QPSO. Meanwhile, the improved QPSO method combines with the three different constraint handling strategies and an enhanced one-test-at-a-time strategy as a synergic QPSO method named QPIO to solve the CCAG problem. In the experiment, we investigate the impacts of parameter settings on the performance of the QPIO. Extensive experimental results show that the QPIO algorithm is a competitive method compared to the representative methods for CCAG. Besides, the QPIO method enriches the application of the QPSO algorithm in the context of CT.

Rights

Copyright (c) 2022 The Authors

Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

DOI

10.1049/sfw2.12054

Persistent Identifier

https://archives.pdx.edu/ds/psu/37227

Share

COinS