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 条
  • [1] Spectral Test Generation for Boolean Expressions
    Ayav, Tolga
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2023, 33 (08) : 1239 - 1260
  • [2] Test Case Generation for Boolean Expressions by Cell Covering
    Yu, Lian
    Tsai, Wei-Tek
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2018, 44 (01) : 70 - 99
  • [3] 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
  • [4] A Metric for Measuring Test Input Generation Effectiveness of Test Generation Methods for Boolean Expressions
    Ufuktepe, Deniz Kavzak
    Ufuktepe, Ekincan
    Ayav, Tolga
    2021 15TH TURKISH NATIONAL SOFTWARE ENGINEERING SYMPOSIUM (UYMS), 2021, : 8 - 13
  • [5] Automated Mutation-based Test Case Evaluation for Semantic Web Services
    Jokhio, M. Shaban
    Dobbie, Gillian
    Hu, Tianming
    Sun, Jing
    2014 23RD AUSTRALASIAN SOFTWARE ENGINEERING CONFERENCE (ASWEC), 2013, : 210 - 219
  • [6] CTFTP: A Test Case Generation Strategy for General Boolean Expressions Based on Ordered Binary Label-Driven Petri Nets
    Gong, Hongfang
    Li, Junyi
    Li, Renfa
    IEEE ACCESS, 2020, 8 (08): : 174516 - 174529
  • [7] A FORTRAN LANGUAGE SYSTEM FOR MUTATION-BASED SOFTWARE TESTING
    KING, KN
    OFFUTT, AJ
    SOFTWARE-PRACTICE & EXPERIENCE, 1991, 21 (07) : 685 - 718
  • [8] An Empirical Evaluation of Test Suite Reduction for Boolean Specification-based Testing
    Zhang, Xiaofang
    Xu, Baowen
    Chen, Zhenyu
    Nie, Changhai
    Li, Leifang
    QSIC 2008: PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, 2008, : 270 - 275
  • [9] A Mutation-based Approach for Assessing Weight Coverage of a Path Planner
    Laurent, Thomas
    Arcaini, Paolo
    Ishikawa, Fuyuki
    Ventresque, Anthony
    2019 26TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC), 2019, : 94 - 101
  • [10] On the Use of Mutation Analysis for Evaluating Student Test Suite Quality
    Perretta, James
    DeOrio, Andrew
    Guha, Arjun
    Bell, Jonathan
    PROCEEDINGS OF THE 31ST ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2022, 2022, : 263 - 275