DocumentCode
2443463
Title
Sound empirical evidence in software testing
Author
Fraser, Gordon ; Arcuri, Andrea
Author_Institution
Saarland Univ., Saarbrucken, Germany
fYear
2012
fDate
2-9 June 2012
Firstpage
178
Lastpage
188
Abstract
Several promising techniques have been proposed to automate different tasks in software testing, such as test data generation for object-oriented software. However, reported studies in the literature only show the feasibility of the proposed techniques, because the choice of the employed artifacts in the case studies (e.g., software applications) is usually done in a non-systematic way. The chosen case study might be biased, and so it might not be a valid representative of the addressed type of software (e.g., internet applications and embedded systems). The common trend seems to be to accept this fact and get over it by simply discussing it in a threats to validity section. In this paper, we evaluate search-based software testing (in particular the EvoSuite tool) when applied to test data generation for open source projects. To achieve sound empirical results, we randomly selected 100 Java projects from SourceForge, which is the most popular open source repository (more than 300,000 projects with more than two million registered users). The resulting case study not only is very large (8,784 public classes for a total of 291,639 bytecode level branches), but more importantly it is statistically sound and representative for open source projects. Results show that while high coverage on commonly used types of classes is achievable, in practice environmental dependencies prohibit such high coverage, which clearly points out essential future research directions. To support this future research, our SF100 case study can serve as a much needed corpus of classes for test generation.
Keywords
Java; object-oriented methods; program testing; public domain software; Java projects; SF100 case study; SourceForge; object-oriented software; open source projects; open source repository; search-based software testing; test data generation; Containers; Context; Java; Security; Software; Software testing; class corpus; environment; search-based software engineering; security exception; test case generation; unit testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering (ICSE), 2012 34th International Conference on
Conference_Location
Zurich
ISSN
0270-5257
Print_ISBN
978-1-4673-1066-6
Electronic_ISBN
0270-5257
Type
conf
DOI
10.1109/ICSE.2012.6227195
Filename
6227195
Link To Document