Seeding strategies in search-based unit test generation. Rojas, J. M., Fraser, G., & Arcuri, A. Software Testing, Verification and Reliability (STVR), 26(5):366–401, 2016.
Seeding strategies in search-based unit test generation [link]Paper  doi  abstract   bibtex   
Search-based techniques have been applied successfully to the task of generating unit tests for object-oriented software. However, as for any meta-heuristic search, the efficiency heavily depends on many factors; \emphseeding, which refers to the use of previous related knowledge to help solve the testing problem at hand, is one such factor that may strongly influence this efficiency. This paper investigates different seeding strategies for unit test generation, in particular seeding of numerical and string constants derived statically and dynamically, seeding of type information, and seeding of previously generated tests. To understand the effects of these seeding strategies, the results of a large empirical analysis carried out on a large collection of open source projects from the SF110 corpus and the Apache Commons repository are reported. These experiments show with strong statistical confidence that, even for a testing tool already able to achieve high coverage, the use of appropriate seeding strategies can further improve performance.
@article{STVR_seeding,
  author    = {Jos\'e Miguel Rojas and Gordon Fraser and Andrea
               Arcuri},
  title	    = {Seeding strategies in search-based unit test
               generation},
  journal   = STVR,
  issn	    = {1099-1689},
  volume    = {26},
  number    = {5},
  pages	    = {366--401},
  year	    = {2016},
  url	    = {http://dx.doi.org/10.1002/stvr.1601},
  doi	    = {10.1002/stvr.1601},
  labels    = {journal},
  abstract  = {Search-based techniques have been applied successfully
               to the task of generating unit tests for
               object-oriented software.  However, as for any
               meta-heuristic search, the efficiency heavily depends
               on many factors; \emph{seeding}, which refers to the
               use of previous related knowledge to help solve the
               testing problem at hand, is one such factor that may
               strongly influence this efficiency. This paper
               investigates different seeding strategies for unit test
               generation, in particular seeding of numerical and
               string constants derived statically and dynamically,
               seeding of type information, and seeding of previously
               generated tests. To understand the effects of these
               seeding strategies, the results of a large empirical
               analysis carried out on a large collection of open
               source projects from the SF110 corpus and the Apache
               Commons repository are reported. These experiments show
               with strong statistical confidence that, even for a
               testing tool already able to achieve high coverage, the
               use of appropriate seeding strategies can further
               improve performance.}
}

Downloads: 0