Towards Generating Realistic and High Coverage Test Data for Constraint-Based Fault Injection

被引:0
|
作者
Qian, Ju [1 ,2 ]
Wang, Yan [1 ,2 ]
Lin, Fusheng [1 ,2 ]
Li, Changjian [1 ,2 ]
Zhang, Zhiyi [1 ,2 ]
Yan, Xuefeng [1 ,2 ]
机构
[1] Nanjing Univ Aeronaut & Astronaut, Coll Comp Sci & Technol, Nanjing 211106, Peoples R China
[2] Collaborat Innovat Ctr Novel Software Technol & I, Nanjing 210023, Peoples R China
关键词
Fault injection; constraint solving; constraint negation; MUTATION;
D O I
10.1142/S0218194020500187
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Generating faulty data is a key issue in fault injection. The faulty data include not only the ones of extreme values or bad formats, but also the ones which are logically unreasonable. Constraint-based fault injection which negates interface constraints to solve faulty data is effective for logically unreasonable data generation. However, the existing constraint-based approaches just solve brand new data for testing. Such brand new data may easily violate some hidden environment constraints on the test inputs and hence be nonrealistic. Besides, there can be different strategies to negate a constraint in order to derive the constraint-unsatisfied faulty data. What are the possible negation strategies and which strategies are better for high coverage fault injection are still unclear. To these ends, this paper presents a new constraint-based fault injection approach. The approach introduces 10 different strategies for constraint negation and relaxes constraint variables to generate faulty data instead of solving brand new data for fault injection. It can produce faulty data which are closer to the original non-faulty ones and hence likely to be more realistic. We experimentally investigated the effectiveness and cost of the introduced constraint negation strategies. The results provide insights for the application of these strategies in fault injection.
引用
收藏
页码:451 / 479
页数:29
相关论文
共 50 条
  • [1] Generating Test Data for Killing SQL Mutants: A Constraint-based Approach
    Shah, Shetal
    Sudarshan, S.
    Kajbaje, Suhas
    Patidar, Sandeep
    Gupta, Bhanu Pratap
    Vira, Devang
    IEEE 27TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2011), 2011, : 1175 - 1186
  • [2] Generating Realistic Logically Unreasonable Faulty Data for Fault Injection
    Qian, Ju
    Lin, Fusheng
    Li, Changjian
    Zhang, Zhiyi
    Chen, Zhe
    2018 IEEE 42ND ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC 2018), VOL 2, 2018, : 436 - 441
  • [3] Constraint-Based Automated Generation of Test Data
    Adorf, Hans-Martin
    Varendorff, Martin
    SOFTWARE QUALITY: MODEL-BASED APPROACHES FOR ADVANCED SOFTWARE AND SYSTEMS ENGINEERING, 2014, 166 : 199 - 213
  • [4] CONSTRAINT-BASED AUTOMATIC TEST DATA GENERATION
    DEMILLO, RA
    OFFUTT, AJ
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1991, 17 (09) : 900 - 910
  • [5] Towards a Framework for Constraint-Based Test Case Generation
    Degrave, Francois
    Schrijvers, Tom
    Vanhoof, Wim
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2010, 6037 : 128 - +
  • [6] Retrospective on: Constraint-Based Automatic Test Data Generation
    Offutt, Jeff
    Demillo, Richard
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2025, 51 (03) : 754 - 758
  • [7] A Constraint-based Approach for Generating Transformation Patterns
    Cherif, Asma
    Imine, Abdessamad
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2015, (201): : 48 - 62
  • [8] Towards constraint-based school timetabling
    Marte, Michael
    ANNALS OF OPERATIONS RESEARCH, 2007, 155 (01) : 207 - 225
  • [9] Towards constraint-based school timetabling
    Michael Marte
    Annals of Operations Research, 2007, 155 : 207 - 225
  • [10] The Challenges of Constraint-Based Test Generation
    Lagoon, Vitaly
    PPDP 11 - PROCEEDINGS OF THE 2011 SYMPOSIUM ON PRINCIPLES AND PRACTICES OF DECLARATIVE PROGRAMMING, 2011, : 1 - 2