DocumentCode
570171
Title
Generating test cases via model-based simulation
Author
Liu, Songqing ; Li, Liping ; Guo, Hai-Feng
Author_Institution
Dept. of Comput. Sci., Univ. of Nebraska at Omaha, Omaha, NE, USA
fYear
2012
fDate
8-10 Aug. 2012
Firstpage
17
Lastpage
24
Abstract
We present a new model-based test case generation approach, which takes inputs an executable system model and preliminary test case coverage, performs an automated model simulation, and eventually generates refined test cases for software testing. We adopt Live Sequence Charts to specify an executable system model, and present a logic-based model simulator for consistency testing. As a result, our model simulator produces a state transition diagram(STD) justifying the model´s runtime behaviors, where each state is labeled with a set of runtime properties that are true in the state. The STD can then be automatically transformed into a refined set of test cases, in a form of a context-free grammar. Finally, we show that LSCs can also be used to specify and test certain temporal system properties during the model simulation. Their satisfaction, reflected in the STD, can either be served as a directive for selective test generation, or a basis for further temporal property model checking.
Keywords
context-free grammars; formal specification; formal verification; program testing; automated model simulation; consistency testing; context-free grammar; executable system model; live sequence charts; logic-based model simulator; model-based test case generation; preliminary test case coverage; software testing; state transition diagram; temporal property model checking; Computational modeling; Grammar; Production; Runtime; Semantics; Testing; Unified modeling language;
fLanguage
English
Publisher
ieee
Conference_Titel
Information Reuse and Integration (IRI), 2012 IEEE 13th International Conference on
Conference_Location
Las Vegas, NV
Print_ISBN
978-1-4673-2282-9
Electronic_ISBN
978-1-4673-2283-6
Type
conf
DOI
10.1109/IRI.2012.6302985
Filename
6302985
Link To Document