DocumentCode :
2165143
Title :
Handling Constraints for Search Based Software Test Data Generation
Author :
Sagarna, Ramon ; Yao, Xin
Author_Institution :
Sch. of Comput. Sci., Univ. of Birmingham, Edgbaston
fYear :
2008
fDate :
9-11 April 2008
Firstpage :
232
Lastpage :
240
Abstract :
A major issue in software testing is the automatic generation of the inputs to be applied to the programme under test. To solve this problem, a number of approaches based on search methods have been developed in the last few years, offering promising results for adequacy criteria like, for instance, branch coverage. We devise branch coverage as the satisfaction of a number of constraints. This allows to formulate the test data generation as a constrained optimisation problem or as a constraint satisfaction problem. Then, we can see that many of the generators so far have followed the same particular approach. Furthermore, this constraint-handling point of view overcomes this limitation and opens the door to new designs and search strategies that, to the best of our knowledge, have not been considered yet. As a case study, we develop test data generators employing different penalty objective functions or multiobjective optimisation. The results of the conducted preliminary experiments suggest these generators can improve the performance of classical approaches.
Keywords :
constraint handling; constraint theory; optimisation; program testing; search problems; branch coverage; constraint satisfaction problem; constraint-handling; multiobjective optimisation; penalty objective functions; search based software test data generation; software testing; Automatic testing; Automation; Computer science; Constraint optimization; Evolutionary computation; Probability distribution; Search methods; Software systems; Software testing; System testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing Verification and Validation Workshop, 2008. ICSTW '08. IEEE International Conference on
Conference_Location :
Lillehammer
Print_ISBN :
978-0-7695-3388-9
Type :
conf
DOI :
10.1109/ICSTW.2008.19
Filename :
4567013
Link To Document :
بازگشت