Title :
Using the NuSMV Model Checker for Test Generation from Statecharts
Author :
Kadono, Masaya ; Tsuchiya, Tatsuhiro ; Kikuno, Tohru
Author_Institution :
Osaka Univ., Suita, Japan
Abstract :
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.
Keywords :
program testing; software reliability; NuSMV model checker; automatic test case generation; software dependability; software testing; state-transition testing; statechart specification; Automatic testing; Logic testing; Navigation; Search methods; Software systems; Software testing; State-space methods; System testing; NuSMV; model checking; model-based testing; software-testing; state-transition testing;
Conference_Titel :
Dependable Computing, 2009. PRDC '09. 15th IEEE Pacific Rim International Symposium on
Conference_Location :
Shanghai
Print_ISBN :
978-0-7695-3849-5
DOI :
10.1109/PRDC.2009.15