Title :
Uniform Selection of Feasible Paths as a Stochastic Constraint Problem
Author :
Petit, Matthieu ; Gotlieb, Arnaud
Author_Institution :
IRISA / INRIA, Rennes
Abstract :
Automatic structural test data generation is a real challenge of software testing. Statistical structural testing has been proposed to address this problem. This testing method aims at building an input probability distribution to maximize the coverage of some structural criteria. Under the all paths testing objective, statistical structural testing aims at selecting each feasible path of the program with the same probability. In this paper, we propose to model a uniform selector of feasible paths as a stochastic constraint program. Stochastic constraint programming is an interesting framework which combines stochastic decision problem and constraint solving. This paper reports on the translation of uniform selection of feasible paths problem into a stochastic constraint problem. An implementation which uses the library PCC(FD) of SICStus Prolog designed for this problem is detailed. First experimentations, conducted over a few academic examples, show the interest of our approach.
Keywords :
constraint handling; program testing; statistical distributions; statistical testing; stochastic programming; PCC(FD); SICStus Prolog; automatic structural test data generation; constraint solving; input probability distribution; software testing; statistical structural testing; stochastic constraint problem; stochastic constraint programming; stochastic decision problem; uniform feasible paths selection; Automatic testing; Buildings; Decision making; Flow graphs; Libraries; Probability distribution; Sampling methods; Software quality; Software testing; Stochastic processes;
Conference_Titel :
Quality Software, 2007. QSIC '07. Seventh International Conference on
Conference_Location :
Portland, OR
Print_ISBN :
978-0-7695-3035-2
DOI :
10.1109/QSIC.2007.4385508