Mutation-Based Minimal Test Suite Generation for Boolean Expressions

被引:2
|
作者
Ayav, Tolga [1 ]
Belli, Fevzi [1 ,2 ]
机构
[1] Izmir Inst Technol, Dept Comp Engn, TR-35430 Izmir, Turkiye
[2] Univ Paderborn, Dept Software Engn, Paderborn, Germany
关键词
Software testing; fault-based testing; Boolean functions; mutation analysis; integer linear programming; ERROR-DETECTION CAPABILITY; FAULT CLASSES; PRIORITIZATION;
D O I
10.1142/S0218194023500183
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Boolean expressions are highly involved in control flows of programs and software specifications. Coverage criteria for Boolean expressions aim at producing minimal test suites to detect software faults. There exist various testing criteria, efficiency of which is usually evaluated through mutation analysis. This paper proposes an integer programming-based minimal test suite generation technique relying on mutation analysis. The proposed technique also takes into account the cost of fault detection. The technique is optimal such that the resulting test suite guarantees to detect all the mutants under given fault assumptions, while maximizing the average percentage of fault detection of a test suite. Therefore, the approach presented can also be considered as a reference method to check the efficiency of any common technique. The method is evaluated using four well-known real benchmark sets of Boolean expressions and is also exemplary compared with MCDC criterion. The results show that the test suites generated by the proposed method provide better fault coverage values and faster fault detection.
引用
收藏
页码:865 / 884
页数:20
相关论文
共 50 条
  • [11] Mutation-based Diagnostic Test Generation for Hardware Design Error Diagnosis
    Deng, Shujun
    Cheng, Kwang-Ting
    Bian, Jinian
    Kong, Zhiqiu
    INTERNATIONAL TEST CONFERENCE 2010, 2010,
  • [12] Mutation-Based Test Generation for Quantum Programs with Multi-Objective Search
    Wang, Xinyi
    Yu, Tongxuan
    Arcaini, Paolo
    Yue, Tao
    Ali, Shaukat
    PROCEEDINGS OF THE 2022 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE (GECCO'22), 2022, : 1345 - 1353
  • [13] Mutation-Based Test Generation for PLC Embedded Software Using Model Checking
    Enoiu, Eduard P.
    Sundmark, Daniel
    Causevic, Adnan
    Feldt, Robert
    Pettersson, Paul
    TESTING SOFTWARE AND SYSTEMS, ICTSS 2016, 2016, 9976 : 155 - 171
  • [14] A Minimal Test Suite Generation Method Based on Quotient Space Theory
    Wu, Lei
    Li, Longshu
    ROUGH SETS AND KNOWLEDGE TECHNOLOGY, 2011, 6954 : 579 - 584
  • [15] Minimal Test Suite Automatic Generation Method Based on Petri Net
    Su, Jianyuan
    Wang, Lingling
    Liang, Hongyan
    Zhao, Xin
    Wu, Lingyan
    PROCEEDINGS OF 2008 INTERNATIONAL PRE-OLYMPIC CONGRESS ON COMPUTER SCIENCE, VOL I: COMPUTER SCIENCE AND ENGINEERING, 2008, : 264 - 267
  • [16] Test Case Generation for Boolean Expressions by Cell Covering
    Yu, Lian
    Tsai, Wei-Tek
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2018, 44 (01) : 70 - 99
  • [17] Fault-based test generation for regular expressions by mutation
    Arcaini, Paolo
    Gargantini, Angelo
    Riccobene, Elvinia
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2019, 29 (1-2):
  • [18] Automatic test generation of large boolean expressions in Computer Based Interlocking System
    Li, Zhiwei
    Liu, Jing
    Sun, Haiying
    Zhou, Tingliang
    Sun, Junfeng
    2017 24TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2017), 2017, : 513 - 520
  • [19] Test Suite Generation for Boolean Conditions with Equivalence Class Partitioning
    Halle, Sylvain
    IEEE/ACM 10TH INTERNATIONAL CONFERENCE ON FORMAL METHODS IN SOFTWARE ENGINEERING (FORMALISE 2022), 2022, : 23 - 33
  • [20] Test data generation for covering mutation-based path using MGA for MPI program
    Dang, Xiangying
    Wang, Jinyong
    Gong, Dunwei
    Yao, Xiangjuan
    Wei, Changqing
    Xu, Biao
    JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 210