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
相关论文
共 50 条
  • [31] Fault localization using a model checker
    Griesmayer, Andreas
    Staber, Stefan
    Bloem, Roderick
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2010, 20 (02): : 149 - 173
  • [32] USING A MODEL CHECKER TO VERIFY PROGRAMS
    DEVILLIERS, PJA
    SOUTH AFRICAN JOURNAL OF PHILOSOPHY-SUID-AFRIKAANSE TYDSKRIF VIR WYSBEGEERTE, 1988, 7 (02): : 113 - 117
  • [33] Code Generation from Statecharts: Simulation of Wireless Sensor Networks
    Mura, Marcello
    Sami, Maria Giovanna
    11TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN - ARCHITECTURES, METHODS AND TOOLS : DSD 2008, PROCEEDINGS, 2008, : 525 - +
  • [34] Automatic generation and verification of railway interlocking control tables using FSM and NuSMV
    School of Railway Engineering, Iran University of Science and Technology, Tehran, Iran
    Int. J. Eng. Model., 2008, 1-4 (57-63): : 57 - 63
  • [35] Generating test sequences from Statecharts for concurrent program testing
    Seo, HS
    Chung, IS
    Kwon, YR
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2006, E89D (04): : 1459 - 1469
  • [36] Automated support for deriving test requirements from UML statecharts
    Briand L.C.
    Labiche Y.
    Cui J.
    Software & Systems Modeling, 2005, 4 (4) : 399 - 423
  • [38] From NuSMV to SPIN: Experiences with model checking flight guidance systems
    Yunja Choi
    Formal Methods in System Design, 2007, 30 : 199 - 216
  • [39] Generating Optimal Test Cases for Real-Time Systems using DIVINE Model Checker
    Pal, Deepak
    Vain, Jueri
    2016 15TH BIENNIAL BALTIC ELECTRONICS CONFERENCE (BEC), 2016, : 99 - 102
  • [40] Test Model Generation using Equivalence Partitioning
    Jahanbin, Sorour
    Zamani, Bahman
    2018 8TH INTERNATIONAL CONFERENCE ON COMPUTER AND KNOWLEDGE ENGINEERING (ICCKE), 2018, : 98 - 103