DocumentCode :
1834842
Title :
Widening the Goal Posts: Program Stretching to Aid Search Based Software Testing
Author :
Ghani, Kamran ; Clark, John A.
Author_Institution :
Dept. of Comput. Sci., Univ. of York Heslington, York
fYear :
2009
fDate :
13-15 May 2009
Firstpage :
122
Lastpage :
131
Abstract :
Search based software testing has emerged in recent years as an important research area within automated software test data generation. The general approach of couching the satisfaction of test goals as numerical optimisation problems has been applied to a variety of problems such as satisfying structural coverage criteria, specification falsification, exception generation, breaking unit pre-conditions and software hazard discovery. However, some test goals may be hard to satisfy. For example, a program branch may be difficult to reach via a search based technique, because the domain of the data that causes it to be taken is exceedingly small or the non-linearity of the "fitness landscape\´\´ precludes the provision of effective guidance to the search for test data. In this paper we propose to "stretch\´\´ relevant conditions within a program to make them easier to satisfy. We find test data that satisfies the corresponding test goal of the stretched program. We then seek to transform the stretched program by stages back to the original, simultaneously migrating the obtained test data to produce test data that satisfies the goal for the original program. The "stretching\´\´ device is remarkably simple and shows significant promise for obtaining hard-to-find test data and also gives efficiency improvements over standard search based testing approaches.
Keywords :
numerical analysis; optimisation; program testing; automated software test data generation; breaking unit pre-conditions; exception generation; numerical optimisation problems; program stretching; search based software testing; software hazard discovery; specification falsification; structural coverage criteria; Automatic testing; Automation; Computer science; Costs; Hazards; Performance evaluation; Programming; Software engineering; Software testing; System testing; Program Stretching; Program Transformation; Search based test data generation; Simulated Annealing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Search Based Software Engineering, 2009 1st International Symposium on
Conference_Location :
Windsor
Print_ISBN :
978-0-7695-3675-0
Type :
conf
DOI :
10.1109/SSBSE.2009.26
Filename :
5033191
Link To Document :
بازگشت