DocumentCode
2358636
Title
On path-wise automatic generation of test data for both white-box and black-box testing
Author
Shan, Jin-Hui ; Wang, Ji ; Qi, Zhi-Chang
Author_Institution
Nat. Lab. for Parallel & Distributed Process., Hunan, China
fYear
2001
fDate
4-7 Dec. 2001
Firstpage
237
Lastpage
240
Abstract
Automatic generation of test data for a given path in a program is an elementary problem in software testing, the difficulty of which lies in how to solve the nonlinear constraint. Gupta et al. (1998) proposed a method, which is referred to as the iterative relaxation method, to address the above problem by linearizing the predicate functions. This paper improves the iterative relaxation method by omitting the constructions of predicate slice and input dependency set, and proves the equivalence of systems of constraints generated by both methods. Since it is not necessary for our method to analyze the dependencies between statements on the path in the course of deriving a system of constraints, our method still works when some statements are only object or executable codes rather than source codes on the path. Therefore, our method can also be used for generating test data for black-box testing and regression testing. We have developed a prototype of a path-wise test data generator whose fundamental algorithm is presented in this paper. The initial experiments with this prototype have shown that our method is practical.
Keywords
program testing; black-box testing; executable codes; iterative relaxation method; nonlinear constraint solving; path-wise automatic test data generation; predicate functions; regression testing; software testing; statements; white-box testing; Automatic testing; Constraint theory; Distributed processing; Equations; Input variables; Iterative methods; Laboratories; Relaxation methods; Software prototyping; Software testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference, 2001. APSEC 2001. Eighth Asia-Pacific
ISSN
1530-1362
Print_ISBN
0-7695-1408-1
Type
conf
DOI
10.1109/APSEC.2001.991482
Filename
991482
Link To Document