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 条
  • [41] Problems of inducing large coverage constraint-based dependency grammar for Czech
    Bojar, O
    CONSTRAINT SOLVING AND LANGUAGE PROCESSING, 2005, 3438 : 90 - 103
  • [42] Using fault injection to increase software test coverage
    Bieman, JM
    Dreilinger, D
    Lin, LJ
    SEVENTH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 1996, : 166 - 174
  • [43] A constraint-based high school scheduling system
    Yoshikawa, M
    Kaneko, S
    Yamanouhi, T
    Watanabe, M
    IEEE EXPERT-INTELLIGENT SYSTEMS & THEIR APPLICATIONS, 1996, 11 (01): : 63 - 72
  • [44] Practical Constraint Solving for Generating System Test Data
    Soltana, Ghanem
    Sabetzadeh, Mehrdad
    Briand, Lionel C.
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2020, 29 (02)
  • [45] Towards a constraint-based engineering framework for algorithm design and application
    Kasif, Simon
    Constraints, 1997, 2 (01): : 75 - 82
  • [46] Towards a constraint-based engineering framework for algorithm design and application
    Kasif Simon
    Constraints, 1997, 2 (1) : 75 - 82
  • [47] TOWARDS AN OPTIMAL FAULT COVERAGE PER TEST.
    Hong, S.J.
    Snyders, W.
    Rice, R.
    IAHS-AISH Publication (International Association of Hydrological Sciences-Association Internationale des Sciences Hydrologiques), 1978, : 208 - 212
  • [48] Towards Scalable Hybrid Stores: Constraint-Based Rewriting to the Rescue
    Alotaibi, Rana
    Bursztyn, Damian
    Deutsch, Alin
    Manolescu, Ioana
    Zampetakis, Stamatis
    SIGMOD '19: PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2019, : 1660 - 1677
  • [49] Scalable Constraint-Based Virtual Data Center Allocation
    Bayless, Sam
    Kodirov, Nodir
    Beschastnikh, Ivan
    Hoos, Holger H.
    Hu, Alan J.
    PROCEEDINGS OF THE TWENTY-SIXTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2017, : 546 - 554
  • [50] A constraint-based approach to guarded algebraic data types
    Simonet, Vincent
    Pottier, Francois
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2007, 29 (01):