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] Mutation-based Generation Algorithm of Negative Test Strings from Regular Expressions
    Zheng L.-X.
    Yu L.-L.
    Chen H.-M.
    Chen Z.-X.
    Luo X.-Y.
    Wang X.-Y.
    Ruan Jian Xue Bao/Journal of Software, 2024, 35 (07): : 3355 - 3376
  • [2] Test Case Generation for Mutation-based Testing of Timeliness
    Nilsson, Robert
    Offutt, Jeff
    Mellin, Jonas
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 164 (04) : 97 - 114
  • [3] Mutation-Based Test Case Generation for Simulink Models
    Brillout, Angelo
    He, Nannan
    Mazzucchi, Michele
    Kroening, Daniel
    Purandare, Mitra
    Ruemmer, Philipp
    Weissenbacher, Georg
    FORMAL METHODS FOR COMPONENTS AND OBJECTS, 2010, 6286 : 208 - +
  • [4] Mutation-Based Test-Case Generation with Ecdar
    Larsen, Kim G.
    Lorber, Florian
    Nielsen, Brian
    Nyman, Ulrik M.
    10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS - ICSTW 2017, 2017, : 319 - 328
  • [5] Test Suite Reduction for Self-organizing Systems: A Mutation-based Approach
    Reichstaller, Andre
    Eberhardinger, Benedikt
    Ponsar, Hella
    Knapp, Alexander
    Reif, Wolfgang
    2018 IEEE/ACM 13TH INTERNATIONAL WORKSHOP ON AUTOMATION OF SOFTWARE TEST (AST), 2018, : 64 - 70
  • [6] Mutation-Based Generation of Software Product Line Test Configurations
    Henard, Christopher
    Papadakis, Mike
    Le Traon, Yves
    SEARCH-BASED SOFTWARE ENGINEERING, 2014, 8636 : 92 - 106
  • [7] Achieving scalable mutation-based generation of whole test suites
    Fraser, Gordon
    Arcuri, Andrea
    EMPIRICAL SOFTWARE ENGINEERING, 2015, 20 (03) : 783 - 812
  • [8] Spectral Test Generation for Boolean Expressions
    Ayav, Tolga
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2023, 33 (08) : 1239 - 1260
  • [9] Achieving scalable mutation-based generation of whole test suites
    Gordon Fraser
    Andrea Arcuri
    Empirical Software Engineering, 2015, 20 : 783 - 812
  • [10] Strong Mutation-Based Test Data Generation using Hill Climbing
    Souza, Francisco Carlos M.
    Papadakis, Mike
    Le Traon, Yves
    Delamaro, Marcio E.
    2016 IEEE/ACM 9TH INTERNATIONAL WORKSHOP ON SEARCH-BASED SOFTWARE TESTING (SBST), 2016, : 45 - 54