Title :
A "Vibration" Method for Automatically Generating Test Cases Based on Formal Specifications
Author :
Liu, Shaoying ; Nakajima, Shin
Author_Institution :
Dept. of Comput. Sci., Hosei Univ., Tokyo, Japan
Abstract :
Several approaches to test case generation based on formal specifications have been put forward, but how to automatically generate test cases to ensure that all of the representative program paths of the corresponding program are traversed still remains an open problem. In this paper, we describe a new technique called "Vibration" method to tackle this problem. The method focuses on a heuristic process of generating test cases, collecting traversed paths, and removing the bugs detected, based on a single test condition of a functional scenario until all the corresponding program paths are traversed or a stopping testing condition is met. The test case generation is fully automatic, in the sense that all the criteria can be implemented by algorithms in a software tool. We describe the criteria and algorithms for test case generation and for stopping a testing process.
Keywords :
formal specification; program testing; formal specification; heuristic process; software tool; test case generation; vibration method; Software engineering; Vibrations; Automatic specification-based testing; black-box testing; formal specification-based testing; functional testing;
Conference_Titel :
Software Engineering Conference (APSEC), 2011 18th Asia Pacific
Conference_Location :
Ho Chi Minh
Print_ISBN :
978-1-4577-2199-1
DOI :
10.1109/APSEC.2011.16