Sound Empirical Evidence in Software Testing

被引:0
|
作者
Fraser, Gordon [2 ]
Arcuri, Andrea [1 ]
机构
[1] Certus Software V & V Ctr, Simula Res Lab, N-1325 Lysaker, Norway
[2] Saarland Univ, Saarbrucken, Germany
关键词
test case generation; unit testing; search-based software engineering; class corpus; security exception; environment; AUTOMATIC-GENERATION; UNIT TESTS; CLASSIFICATION; CHECKING; TOOL;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:178 / 188
页数:11
相关论文
共 50 条
  • [1] Empirical Observations on Software Testing Automation
    Karhu, Katja
    Repo, Tiina
    Taipale, Ossi
    Smolander, Kari
    [J]. SECOND INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION, AND VALIDATION, PROCEEDINGS, 2009, : 201 - 209
  • [2] Empirical Measurement of the Software Testing and Reliability
    Zou Feng-zhong 1
    2. School of Computer
    [J]. Wuhan University Journal of Natural Sciences, 2004, (01) : 23 - 26
  • [3] The nature of evidence in empirical software engineering
    Segal, J
    [J]. ELEVENTH ANNUAL INTERNATIONAL WORKSHOP ON SOFTWARE TECHNOLOGY AND ENGINEERING PRACTICE, PROCEEDINGS, 2004, : 40 - 47
  • [4] Belief & Evidence in Empirical Software Engineering
    Devanbu, Prem
    Zimmermann, Thomas
    Bird, Christian
    [J]. 2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2016, : 108 - 119
  • [5] An Empirical Study on Software Testing Practices in Automotive
    Lami, Giuseppe
    Biscoglio, Isabella
    Falcini, Fabio
    [J]. SOFTWARE PROCESS IMPROVEMENT AND CAPABILITY DETERMINATION (SPICE 2016), 2016, 609 : 301 - 315
  • [6] An Empirical Study of the Effects of Personality on Software Testing
    Kanij, Tanjila
    Merkel, Robert
    Grundy, John
    [J]. 2013 IEEE 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING EDUCATION AND TRAINING (CSEE&T), 2013, : 239 - 248
  • [7] Software Complexity and Testing Effectiveness: An Empirical Study
    Kevrekidis, Kostas
    Albers, Stijn
    Sonnemans, Peter J. M.
    Stollman, Guillaume M.
    [J]. ANNUAL RELIABILITY AND MAINTAINABILITY SYMPOSIUM, 2009 PROCEEDINGS, 2009, : 540 - +
  • [8] An Empirical Study of Product Metrics in Software Testing
    Singh, Yogesh
    Kaur, Arvinder
    Suri, Bharti
    [J]. INNOVATIVE TECHNIQUES IN INSTRUCTION TECHNOLOGY, E-LEARNING, E-ASSESSMENT AND EDUCATION, 2008, : 64 - 72
  • [9] An Empirical Study of Test Cases in Software Testing
    Shete, Navnath
    Jadhav, Avinash
    [J]. 2014 INTERNATIONAL CONFERENCE ON INFORMATION COMMUNICATION AND EMBEDDED SYSTEMS (ICICES), 2014,