Mutation Testing with Hyperproperties

被引:1
|
作者
Fellner, Andreas [1 ,2 ]
Befrouei, Mitra Tabaei [2 ]
Weissenbacher, Georg [2 ]
机构
[1] AIT Austrian Inst Technol, Vienna, Austria
[2] TU Wien, Vienna, Austria
基金
欧盟地平线“2020”;
关键词
MODEL CHECKING; GENERATE TESTS;
D O I
10.1007/978-3-030-30446-1_11
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a new method for model-based mutation-driven test case generation. Mutants are generated by making small syntactical modifications to the model or source code of the system under test. A test case kills a mutant if the behavior of the mutant deviates from the original system when running the test. In this work, we use hyperproperties-which allow to express relations between multiple executions-to formalize different notions of killing for both deterministic as well as non-deterministic models. The resulting hyperproperties are universal in the sense that they apply to arbitrary reactive models and mutants. Moreover, an off-the-shelf model checking tool for hyperproperties can be used to generate test cases. We evaluate our approach on a number of models expressed in two different modeling languages by generating tests using a state-of-the-art mutation testing tool.
引用
收藏
页码:203 / 221
页数:19
相关论文
共 50 条
  • [41] Semantic mutation testing
    Clark, John A.
    Dan, Haitao
    Hierons, Robert M.
    SCIENCE OF COMPUTER PROGRAMMING, 2013, 78 (04) : 345 - 363
  • [42] Mutation testing in UTP
    Aichernig, Bernhard K.
    He Jifeng
    FORMAL ASPECTS OF COMPUTING, 2009, 21 (1-2) : 33 - 64
  • [43] Memory mutation testing
    Wu, Fan
    Nanavati, Jay
    Harman, Mark
    Jia, Yue
    Krinke, Jens
    INFORMATION AND SOFTWARE TECHNOLOGY, 2017, 81 : 97 - 111
  • [44] Parallel mutation testing
    Reales Mateo, Pedro
    Polo Usaola, Macario
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2013, 23 (04): : 315 - 350
  • [45] Performance mutation testing
    Delgado-Perez, Pedro
    Belen Sanchez, Ana
    Segura, Sergio
    Medina-Bulo, Inmaculada
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2021, 31 (05):
  • [46] Predictive Mutation Testing
    Zhang, Jie
    Zhang, Lingming
    Harman, Mark
    Hao, Dan
    Jia, Yue
    Zhang, Lu
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2019, 45 (09) : 898 - 918
  • [47] Mutation Sensitivity Testing
    Hook, Daniel
    Kelly, Diane
    COMPUTING IN SCIENCE & ENGINEERING, 2009, 11 (06) : 40 - 47
  • [48] Formal Verification of Hyperproperties for Control Systems
    Anand, Mahathi
    Murali, Vishnu
    Trivedi, Ashutosh
    Zamani, Majid
    PROCEEDINGS OF 2021 WORKSHOP ON COMPUTATION-AWARE ALGORITHMIC DESIGN FOR CYBER-PHYSICAL SYSTEMS (CAADCPS), 2021, : 29 - 30
  • [49] Smart Contract Synthesis Modulo Hyperproperties
    Coenen, Norine
    Finkbeiner, Bernd
    2023 IEEE 36TH COMPUTER SECURITY FOUNDATIONS SYMPOSIUM, CSF, 2023, : 276 - 291
  • [50] Hyperproperties of Real-Valued Signals
    Luan Viet Nguyen
    Kapinski, James
    Jin, Xiaoqing
    Deshmukh, Jyotirmoy, V
    Johnson, Taylor T.
    MEMOCODE 2017: PROCEEDINGS OF THE 15TH ACM-IEEE INTERNATIONAL CONFERENCE ON FORMAL METHODS AND MODELS FOR SYSTEM DESIGN, 2017, : 105 - 114