Model-Based Robustness Testing in EVENT-B Using Mutation

被引:6
作者
Savary, Aymerick [1 ,2 ]
Frappier, Marc [1 ]
Leuschel, Michael [3 ]
Lanet, Jean-Louis [2 ]
机构
[1] Univ Sherbrooke, Sherbrooke, PQ J1K 2R1, Canada
[2] Univ Limoges, Limoges, France
[3] Univ Dusseldorf, Dusseldorf, Germany
来源
SOFTWARE ENGINEERING AND FORMAL METHODS | 2015年 / 9276卷
关键词
Robustness testing; Specification mutation; Model-based testing; Vulnerability analysis; Intrusion testing; EVENT-B; PROB;
D O I
10.1007/978-3-319-22969-0_10
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Robustness testing aims at finding errors in a system under invalid conditions, such as unexpected inputs. We propose a robustness testing approach for EVENT-B based on specification mutation and model-based testing. We assume that a specification describes the valid inputs of a system. By applying negation rules, we mutate the precondition of events to explore invalid behaviour. Tests are generated from the mutated specification using PROB. PROB has been adapted to efficiently process mutated events. Mutated events are statically checked for satisfiability and enability using constraint satisfaction, to prune the transition search space. This has dramatically improve the performance of test generation. The approach is applied to the Java Card bytecode verifier. Large mutated specifications (containing 921 mutated events) can be easily tackled to ensure a good coverage of the robustness test space.
引用
收藏
页码:132 / 147
页数:16
相关论文
共 18 条
  • [1] Agrawal, 1989, TECHNICAL REPORT
  • [2] Aichernig B.K., 2013, ISTMBT201302 TU GRAZ, P1
  • [3] [Anonymous], MODELING IN EVENT B
  • [4] [Anonymous], 2007, Practical Model-Based Testing: A Tools Approach
  • [5] Bouquet F., 2007, Proceedings of the 3rd International Workshop on Advances in Modelbased Testing, P95
  • [6] Cavalcanti A, 2014, LECT NOTES COMPUT SC, V8411, P415
  • [7] Gargantini A, 2007, LECT NOTES COMPUT SC, V4454, P189
  • [8] An Analysis and Survey of the Development of Mutation Testing
    Jia, Yue
    Harman, Mark
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2011, 37 (05) : 649 - 678
  • [9] TestEra: Specification-Based Testing of Java Programs Using SAT
    Sarfraz Khurshid
    Darko Marinov
    [J]. Automated Software Engineering, 2004, 11 (4) : 403 - 434
  • [10] Kim S., 1999, TECHNICAL REPORT