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 条
  • [21] Empirical evidence in global software engineering: a systematic review
    Darja Šmite
    Claes Wohlin
    Tony Gorschek
    Robert Feldt
    [J]. Empirical Software Engineering, 2010, 15 : 91 - 118
  • [22] Organizational and Customer related Challenges of Software Testing: An Empirical Study in 11 Software Companies
    Seth, Frank Philip
    Taipale, Ossi
    Smolander, Kari
    [J]. 2014 IEEE EIGHTH INTERNATIONAL CONFERENCE ON RESEARCH CHALLENGES IN INFORMATION SCIENCE (RCIS), 2014,
  • [23] Software testing in the machine learning eraSpecial issue of the empirical Software Engineering (EMSE) journal
    Andrea Stocco
    Onn Shehory
    Gunel Jahangirova
    Vincenzo Riccio
    Guy Barash
    Eitan Farchi
    Diptikalyan Saha
    [J]. Empirical Software Engineering, 2023, 28
  • [24] An empirical, path-oriented approach to software analysis and testing
    Murrill, Branson W.
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2008, 81 (02) : 249 - 261
  • [25] An Initiative to Improve Reproducibility and Empirical Evaluation of Software Testing Techniques
    de Oliveira Neto, Francisco G.
    Torkar, Richard
    Machado, Patricia D. L.
    [J]. 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, Vol 2, 2015, : 575 - 578
  • [26] An Empirical Study of Software Testing Quality Based on Natural Experiments
    Li, Jiahao
    Cui, Xinhao
    Wang, Yichen
    Xie, Feng
    [J]. 2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY, AND SECURITY COMPANION, QRS-C, 2022, : 499 - 508
  • [27] An Empirical Study of Adoption of Software Testing in Open Source Projects
    Kochhar, Pavneet Singh
    Bissyande, Tegawende F.
    Lo, David
    Jiang, Lingxiao
    [J]. 2013 13TH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC), 2013, : 103 - 112
  • [28] The impact of Software Testing education on code reliability: An empirical assessment
    Lazzarini Lemos, Otavio Augusto
    Silveira, Fabio Fagundes
    Ferrari, Fabiano Cutigi
    Garcia, Alessandro
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2018, 137 : 497 - 511
  • [29] Exploring the industry's challenges in software testing: An empirical study
    Garousi, Vahid
    Felderer, Michael
    Kuhrmann, Marco
    Herkiloglu, Kadir
    Eldh, Sigrid
    [J]. JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2020, 32 (08)
  • [30] Empirical research on concurrent software testing: A systematic mapping study
    Melo, Silvana M.
    Carver, Jeffrey C.
    Souza, Paulo S. L.
    Souza, Simone R. S.
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 105 : 226 - 251