DocumentCode :
2164938
Title :
Searching for Cognitively Diverse Tests: Towards Universal Test Diversity Metrics
Author :
Feldt, Robert ; Torkar, Richard ; Gorschek, Tony ; Afzal, Wasif
Author_Institution :
Dept. of Syst. & Software Eng., Blekinge Inst. of Technol., Ronneby
fYear :
2008
fDate :
9-11 April 2008
Firstpage :
178
Lastpage :
186
Abstract :
Search-based software testing (SBST) has shown a potential to decrease cost and increase quality of testing- related software development activities. Research in SBST has so far mainly focused on the search for isolated tests that are optimal according to a fitness function that guides the search. In this paper we make the case for fitness functions that measure test fitness in relation to existing or previously found tests; a test is good if it is diverse from other tests. We present a model for test variability and propose the use of a theoretically optimal diversity metric at variation points in the model. We then describe how to apply a practically useful approximation to the theoretically optimal metric. The metric is simple and powerful and can be adapted to a multitude of different test diversity measurement scenarios. We present initial results from an experiment to compare how similar to human subjects, the metric can cluster a set of test cases. To carry out the experiment we have extended an existing framework for test automation in an object-oriented, dynamic programming language.
Keywords :
object-oriented programming; program testing; software metrics; dynamic programming language; object-oriented programming; optimal diversity metric; search-based software testing; software development; universal test diversity metrics; Automatic testing; Costs; Humans; Isolation technology; Object oriented modeling; Programming; Software engineering; Software measurement; 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.36
Filename :
4567005
Link To Document :
بازگشت