DocumentCode :
2516251
Title :
Using Program Data-State Diversity in Test Data Search
Author :
Alshraideh, Mohammad ; Bottaci, Leonardo
Author_Institution :
Dept. of Comput. Sci., Hull Univ.
fYear :
2006
fDate :
29-31 Aug. 2006
Firstpage :
107
Lastpage :
114
Abstract :
Search-based automatic software test data generation for structural testing depends on the instrumentation of the test goal to construct a many-valued function which is then optimised. The method encounters difficulty when the search is in a region in which the function is not able to discriminate between different candidate test cases because it returns a constant value. A typical example of this problem arises in the instrumentation of branch predicates that depend on the value of a Boolean-valued (flag) variable. Existing transformation techniques can solve many cases of the problem but there are situations for which transformation techniques are inadequate. This paper presents a technique for directing the search when the function that instruments the test goal is not able to discriminate candidate test inputs. The new technique depends on introducing program data-state diversity as an additional search goal. The search is guided by a new evaluation (cost) function made up of two parts, one depends on the conventional instrumentation of the test goal, the other depends on the diversity of the data-states produced during execution of the program under test. The method is demonstrated for a number of example programs for which existing methods are inadequate
Keywords :
data flow analysis; optimising compilers; program control structures; program testing; search problems; Boolean-valued variable; branch predicates; many-valued function construction; program data-state diversity; program transformation technique; search-based automatic software test data generation; structural testing; Automatic testing; Computer science; Cost function; Genetic algorithms; Instruments; Search methods; Software testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Testing: Academic and Industrial Conference - Practice And Research Techniques, 2006. TAIC PART 2006. Proceedings
Conference_Location :
Windsor
Print_ISBN :
0-7695-2672-1
Type :
conf
DOI :
10.1109/TAIC-PART.2006.37
Filename :
1691676
Link To Document :
بازگشت