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 条
  • [21] Constraint-Based Test Oracles for Program Analyzers
    Fleischmann, Markus
    Kaindlstorfer, David
    Isychev, Anastasia
    Wuestholz, Valentin
    Christakis, Maria
    PROCEEDINGS OF 2024 39TH ACM/IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2024, 2024, : 344 - 355
  • [22] Constraint-based approaches to the covering test problem
    Hnich, B
    Prestwich, S
    Selensky, E
    RECENT ADVANCES IN CONSTRAINTS, 2005, 3419 : 172 - 186
  • [23] A constraint-based approach to fault management for groupware services
    Sabin, M
    Bakman, A
    Freuder, EC
    Russell, RD
    INTEGRATED NETWORK MANAGEMENT VI: DISTRIBUTED MANAGEMENT FOR THE NETWORKED MILLENNIUM, 1999, : 731 - 744
  • [24] An evolutionary approach to generating constraint-based space layout topologies
    Damski, JC
    Gero, JS
    CAAD FUTURES 1997, 1997, : 855 - 864
  • [25] Generating test data for both path coverage and fault detection using genetic algorithms
    Dunwei GONG
    Yan ZHANG
    Frontiers of Computer Science, 2013, 7 (06) : 822 - 837
  • [26] Generating test data for both path coverage and fault detection using genetic algorithms
    Gong, Dunwei
    Zhang, Yan
    FRONTIERS OF COMPUTER SCIENCE, 2013, 7 (06) : 822 - 837
  • [27] Generating test data for both path coverage and fault detection using genetic algorithms
    Dunwei Gong
    Yan Zhang
    Frontiers of Computer Science, 2013, 7 : 822 - 837
  • [28] Towards Generating High Coverage Vulnerability-Based Signatures with Protocol-Level Constraint-Guided Exploration
    Caballero, Juan
    Liang, Zhenkai
    Poosankam, Pongsin
    Song, Dawn
    RECENT ADVANCES IN INTRUSION DETECTION, PROCEEDINGS, 2009, 5758 : 161 - +
  • [29] Towards constraint-based composition with incomplete service descriptions
    Moran, Matthew
    Vitvar, Tomas
    Zaremba, Maciej
    PROCEEDING OF THE 2007 IEEE/WIC/ACM INTERNATIONAL CONFERENCE ON WEB INTELLIGENCE AND INTELLIGENT AGENT TECHNOLOGY, WORKSHOPS, 2007, : 161 - 165
  • [30] Towards Similarity-Aware Constraint-Based Recommendation
    Atas, Muesluem
    Thi Ngoc Trang Tran
    Felfernig, Alexander
    Erdeniz, Seda Polat
    Samer, Ralph
    Stettinger, Martin
    ADVANCES AND TRENDS IN ARTIFICIAL INTELLIGENCE: FROM THEORY TO PRACTICE, 2019, 11606 : 287 - 299