Search-Based Test Case Generation for Cyber-Physical Systems

被引:0
|
作者
Arrieta, Aitor [1 ]
Wang, Shuai [2 ]
Markiegi, Urtzi [1 ]
Sagardui, Goiuria [1 ]
Etxeberria, Leire [1 ]
机构
[1] Mondragon Goi Eskola Politeknikoa, Arrasate Mondragon, Spain
[2] Certus V&V Ctr, Simula Res Lab, Lysaker, Norway
关键词
FRAMEWORK;
D O I
暂无
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
The test case generation of Cyber-Physical Systems (CPSs) face critical challenges that traditional methods such as Model-Based Testing cannot deal with. As a result, simulation-based testing is one of the most commonly used techniques for testing CPSs despite sometimes being computationally too expensive. This paper proposes a search-based approach which is implemented on top of Non-dominated Sorting Genetic Algorithm II (NSGA-II), the most commonly applied multi-objective search algorithm for cost-effectively generating executable test cases in order to test CPSs. With the aim of guiding the generation of the optimal set of so-called reactive test cases, the approach formally defines three cost-effectiveness measures: requirements coverage, test case similarity and test execution time. Furthermore, we design one crossover operator and three mutation operators (i.e., mutation at test suite level named Mu_TS, mutation at test case level named Mu_TC and mutation at both levels named Mu_BO) for test case generation. We evaluate our approach by comparing with Random Search (RS) using four case studies (one of them is an industrial system). Moreover, we evaluate the three mutation operators using the four case studies. The results of the experiment (with a rigorous statistical analysis) indicated that our approach in conjunction with the crossover operator operation and three mutation operators significantly outperformed RS. In general, Mu BO achieved the best performance among the three mutation operators and managed to improve on average the test execution time by 14%, the requirements coverage by 34%, and the test similarity by 75% as compared with RS.
引用
收藏
页码:688 / 697
页数:10
相关论文
共 50 条
  • [1] A Search-Based Framework for Automatic Generation of Testing Environments for Cyber-Physical Systems
    Humeniuk, Dmytro
    Khomh, Foutse
    Antoniol, Giuliano
    [J]. arXiv, 2022,
  • [2] A search-based framework for automatic generation of testing environments for cyber-physical systems
    Humeniuk, Dmytro
    Khomh, Foutse
    Antoniol, Giuliano
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 149
  • [3] PSY-TaLiRo: A Python']Python Toolbox for Search-Based Test Generation for Cyber-Physical Systems
    Thibeault, Quinn
    Anderson, Jacob
    Chandratre, Aniruddh
    Pedrielli, Giulia
    Fainekos, Georgios
    [J]. FORMAL METHODS FOR INDUSTRIAL CRITICAL SYSTEMS, FMICS 2021, 2021, 12863 : 223 - 231
  • [4] Search-Based test case prioritization for simulation-Based testing of cyber-Physical system product lines
    Arrieta, Aitor
    Wang, Shuai
    Sagardui, Goiuria
    Etxeberria, Leire
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 149 : 1 - 34
  • [5] Survey on test case generation, selection and prioritization for cyber-physical systems
    Sadri-Moshkenani, Zahra
    Bradley, Justin
    Rothermel, Gregg
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2022, 32 (01):
  • [6] Test Case Prioritization of Configurable Cyber-Physical Systems with Weight-Based Search Algorithms
    Arrieta, Aitor
    Wang, Shuai
    Sagardui, Goiuria
    Etxeberria, Leire
    [J]. GECCO'16: PROCEEDINGS OF THE 2016 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, 2016, : 1053 - 1060
  • [7] Uncertainty-wise test case generation and minimization for Cyber-Physical Systems
    Zhang, Man
    Ali, Shaukat
    Yue, Tao
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 153 : 1 - 21
  • [8] Automatic test case generation from requirements for industrial cyber-physical systems
    Sinha, Roopak
    Pang, Cheng
    Martinez, Gerardo Santillan
    Vyatkin, Valeriy
    [J]. AT-AUTOMATISIERUNGSTECHNIK, 2016, 64 (03) : 216 - 230
  • [9] Test Case Prioritization for Acceptance Testing of Cyber Physical Systems: A Multi-objective Search-Based Approach
    Shin, Seung Yeob
    Nejati, Shiva
    Sabetzadeh, Mehrdad
    Briand, Lionel C.
    Zimmer, Frank
    [J]. ISSTA'18: PROCEEDINGS OF THE 27TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2018, : 49 - 60
  • [10] Requirements-Aided Automatic Test case Generation for Industrial Cyber-Physical Systems
    Sinha, Roopak
    Pang, Cheng
    Martinez, Gerardo Santillan
    Kuronen, Juha
    Vyatkin, Valeriy
    [J]. 2015 20TH INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS (ICECCS), 2015, : 198 - 201