Automated Test Suite Generation for Software Product Lines Based on Quality-Diversity Optimization

被引:0
|
作者
Xiang, Yi [1 ]
Huang, Han [1 ]
Li, Sizhe [1 ]
Li, Miqing [2 ]
Luo, Chuan [3 ]
Yang, Xiaowei [1 ]
机构
[1] South China Univ Technol, Sch Software Engn, Guangzhou, Peoples R China
[2] Univ Birmingham, Sch Comp Sci, Birmingham, W Midlands, England
[3] Beihang Univ, Sch Software, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
Software Product Line; automated test suite generation; Quality-Diversity (QD) optimization; FEATURE MODELS; SEARCH; ALGORITHMS; REPERTOIRE; NOVELTY; ROBOTS;
D O I
10.1145/3628158
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A Software Product Line (SPL) is a set of software products that are built from a variability model. Real-world SPLs typically involve a vast number of valid products, making it impossible to individually test each of them. This arises the need for automated test suite generation, which was previously modeled as either a single-objective or a multi-objective optimization problem considering only objective functions. This article provides a completely different mathematical model by exploiting the benefits of Quality-Diversity (QD) optimization that is composed of not only an objective function (e.g., t-wise coverage or test suite diversity) but also a user-defined behavior space (e.g., the space with test suite size as its dimension). We argue that the new model is more suitable and generic than the two alternatives because it provides at a time a large set of diverse (measured in the behavior space) and high-performing solutions that can ease the decision-making process. We apply MAP-Elites, one of the most popular QD algorithms, to solve the model. The results of the evaluation, on both realistic and artificial SPLs, are promising, with MAP-Elites significantly and substantially outperforming both single- and multi-objective approaches, and also several state-of-the-art SPL testing tools. In summary, this article provides a new and promising perspective on the test suite generation for SPLs.
引用
收藏
页数:52
相关论文
共 50 条
  • [1] Many-Objective Test Suite Generation for Software Product Lines
    Hierons, Robert M.
    Li, Miqing
    Liu, Xiaohui
    Parejo, Jose Antonio
    Segura, Sergio
    Yao, Xin
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2020, 29 (01)
  • [2] Model-Based Coverage-Driven Test Suite Generation for Software Product Lines
    Cichos, Harald
    Oster, Sebastian
    Lochau, Mahe
    Schuerr, Andy
    [J]. MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, 2011, 6981 : 425 - +
  • [3] Facilitating Reuse in Multi-goal Test-Suite Generation for Software Product Lines
    Buerdek, Johannes
    Lochau, Malte
    Bauregger, Stefan
    Holzer, Andreas
    von Rhein, Alexander
    Apel, Sven
    Beyer, Dirk
    [J]. FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, FASE 2015, 2015, 9033 : 84 - 99
  • [4] Empirical Evaluation of Automated Test Suite Generation and Optimization
    Khari, Manju
    [J]. ARABIAN JOURNAL FOR SCIENCE AND ENGINEERING, 2020, 45 (04) : 2407 - 2423
  • [5] Empirical Evaluation of Automated Test Suite Generation and Optimization
    Manju Khari
    [J]. Arabian Journal for Science and Engineering, 2020, 45 : 2407 - 2423
  • [6] Incremental Test Generation for Software Product Lines
    Uzuncaova, Engin
    Khurshid, Sarfraz
    Batory, Don
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2010, 36 (03) : 309 - 322
  • [7] Towards Automated Test Refactoring for Software Product Lines
    Krueger, Jacob
    Al-Hajjaji, Mustafa
    Schulze, Sandro
    Saake, Gunter
    Leich, Thomas
    [J]. SPLC'18: PROCEEDINGS OF THE 22ND INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, VOL 1, 2018, : 143 - 148
  • [8] Software Product Line Test Suite Reduction with Constraint Optimization
    Carlsson, Mats
    Gotlieb, Arnaud
    Marijan, Dusica
    [J]. SOFTWARE TECHNOLOGIES, 2017, 743 : 68 - 87
  • [9] Few-Shot Quality-Diversity Optimization
    Salehi, Achkan
    Coninx, Alexandre
    Doncieux, Stephane
    [J]. IEEE ROBOTICS AND AUTOMATION LETTERS, 2022, 7 (02) : 4424 - 4431
  • [10] Automated Regression Test Suite Optimization based on Heuristics
    Prasad, Dhanyamraju S. U. M.
    Chacko, Simy
    Kanakadandi, Satya Sai Prakash
    Durbhaka, Gopi Krishna
    [J]. PROCEEDINGS 2014 4TH INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE WITH APPLICATIONS IN ENGINEERING AND TECHNOLOGY ICAIET 2014, 2014, : 48 - 53