Using the NuSMV Model Checker for Test Generation from Statecharts

被引:3
作者
Kadono, Masaya [1 ]
Tsuchiya, Tatsuhiro [1 ]
Kikuno, Tohru [1 ]
机构
[1] Osaka Univ, Suita, Osaka 5650871, Japan
来源
IEEE 15TH PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING, PROCEEDINGS | 2009年
关键词
Software testing; state-transition testing; model checking; model-based testing; NuSMV; DESIGN;
D O I
10.1109/PRDC.2009.15
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Testing is essential to ensure the dependability of software systems. This paper proposes an automatic test case generation method using the NuSMV model checker. We consider state-transition testing based on Statechart specifications. Given a Statechart specification, our proposed method can automatically generate test cases that cover all states or all transitions in the Statechart. Finding such test cases requires traversing the state space of the system under test. In practice, however, the state space can often be very large and thus a fast search method is required. To this end our method makes full use of NuSMV. We devise a technique for modeling and analyzing Statecharts so that test cases can be extracted from the counterexamples produced by the model checker. The feasibility of our method is demonstrated through case studies.
引用
收藏
页码:37 / 42
页数:6
相关论文
共 20 条
  • [1] Ammann P.E., 1998, P 2 IEEE INT C FORM
  • [2] [Anonymous], 1993, Symbolic Model Checking
  • [3] Optimizing symbolic model checking for statecharts
    Chan, W
    Anderson, RJ
    Beame, P
    Jones, DH
    Notkin, D
    Warner, WE
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2001, 27 (02) : 170 - 190
  • [4] Model checking large software specifications
    Chan, W
    Anderson, RJ
    Beame, P
    Burns, S
    Modugno, F
    Notkin, D
    Reese, JD
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1998, 24 (07) : 498 - 520
  • [5] TESTING SOFTWARE DESIGN MODELED BY FINITE-STATE MACHINES
    CHOW, TS
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1978, 4 (03) : 178 - 187
  • [6] Cimatti A., 2002, LNCS, V2404
  • [7] Copeland L., 2003, A practitioner's guide to software testing
  • [8] Gargantini A, 1999, LECT NOTES COMPUT SC, V1687, P146, DOI 10.1145/318774.318939
  • [9] A METHOD FOR DESIGN OF FAULT DETECTION EXPERIMENTS
    GONENC, G
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 1970, C 19 (06) : 551 - +
  • [10] Generating efficient test sets with a model checker
    Hamon, G
    de Moura, L
    Rushby, J
    [J]. PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND FORMAL METHODS, 2004, : 261 - 270