Title :
Utilizing Model Checking for Automatic Test Case Generation from Conjunctions of Predicates
Author :
Tian, Cong ; Liu, Shaoying ; Nakajima, Shin
Author_Institution :
ISN Lab., Xidian Univ., Xi´´an, China
Abstract :
Automatic test case generation from a pre-post style formal specification must deal with the issue of how to generate test cases from a conjunction of atomic predicate expressions, but unfortunately this problem has not been effectively solved due to its intrinsic difficulty. In this paper, we describe a practical approach to tackling this problem by utilizing the model checking technique. An algorithm that converts test case generation from a conjunction of atomic predicate expressions into model checking is proposed. We discuss how the algorithm deals with atomic predicate expressions involving only variables of numeric types, and then extend the discussion to variables of compound types such as set, sequence, and composite types. Finally, case studies are presented to assess the feasibility and effectiveness of our approach.
Keywords :
formal specification; formal verification; program testing; atomic predicate expressions; automatic test case generation; formal specification; model checking technique; predicate conjunction; Arrays; Buildings; Compounds; Computer languages; Junctions; Numerical models; Testing;
Conference_Titel :
Software Testing, Verification and Validation Workshops (ICSTW), 2011 IEEE Fourth International Conference on
Conference_Location :
Berlin
Print_ISBN :
978-1-4577-0019-4
Electronic_ISBN :
978-0-7695-4345-1
DOI :
10.1109/ICSTW.2011.45