Title :
An experimental study on software structural testing: deterministic versus random input generation
Author :
Thevenod-Fosse, P. ; Waeselynck, H. ; Crouzet, Y.
Author_Institution :
LAAS-CNRS, Toulouse, France
Abstract :
The fault revealing power of different test patterns derived from ten structural test criteria currently referred to in unit testing is investigated. Experiments performed on four programs that are pieces of a real-life software system from the nuclear field are reported. Three test input generation techniques are studied: (1) deterministic choice, (2) random selection based on an input probability distribution determined according to the adopted structural test criterion, and (3) random selection from a uniform distribution on the input domain. Mutation analysis is used to assess the test set efficiency with respect to error detection. The experimental results involve a total of 2914 mutants. They show that structural statistical testing, which exhibits the highest mutation scores, leaving alive only six from 2816 nonequivalent mutants within short testing times, is the most efficient. A regards unit testing of programs whose structure remains tractable, the experiments show the adequacy of a fault removal strategy combining statistical and deterministic test patterns.<>
Keywords :
fault tolerant computing; program testing; deterministic choice; deterministic generation; error detection; fault removal strategy; fault revealing power; mutation analysis; probability distribution; random input generation; random selection; software structural testing; test input generation techniques; unit testing; Application software; Fault diagnosis; Flow graphs; Genetic mutations; Nuclear power generation; Probability distribution; Software design; Software systems; Software testing; Statistical analysis;
Conference_Titel :
Fault-Tolerant Computing, 1991. FTCS-21. Digest of Papers., Twenty-First International Symposium
Conference_Location :
Montreal, Quebec, Canada
Print_ISBN :
0-8186-2150-8
DOI :
10.1109/FTCS.1991.146694