Title :
Abstracting formal specifications to generate software tests via model checking
Author :
Ammann, Paul ; Black, Paul E.
Author_Institution :
George Mason Univ., Fairfax, VA, USA
fDate :
6/21/1905 12:00:00 AM
Abstract :
A recent method combines model checkers with specification-based mutation analysis to generate test cases from formal software specifications. However high-level software specifications usually must be reduced to make analysis with a model checker feasible. We propose a new reduction, parts of which can be applied mechanically, to soundly reduce some large, even infinite, state machines to manageable pieces. Our work differs from other work in that we use the reduction for generating test sets, as opposed to the typical goal of analyzing for properties. Consequently, we have different criteria, and we prove a different soundness rule. Informally the rule is that counterexamples from the model checker are test cases for the original specification. The reduction changes the state machine and temporal logic constraints the model checking specification to avoid generating unsound test cases. We use a Java virtual machine stack as an example of the reduction and test generation
Keywords :
abstract data types; constraint handling; formal specification; program compilers; program testing; program verification; temporal logic; virtual machines; Java virtual machine stack; abstracting formal specifications; automatic test generation; finite focus; formal software specifications; high-level software specifications; large state machines; reduction soundness; software tests generation; specification-based mutation analysis; symbolic model checking; temporal logic constraints; Automatic testing; Formal specifications; Genetic mutations; Humans; Java; Logic testing; NIST; Software systems; Software testing; State-space methods;
Conference_Titel :
Digital Avionics Systems Conference, 1999. Proceedings. 18th
Conference_Location :
St Louis, MO
Print_ISBN :
0-7803-5749-3
DOI :
10.1109/DASC.1999.822091