Continuous Test Generation on Guava

J. Campos, G. Fraser, A. Arcuri, and R. Abreu
Symposium on Search-Based Software Engineering (SSBSE), 2015

Abstract

Search-based testing can be applied to automatically generate unit tests that achieve high levels of code coverage on object-oriented classes. However, test generation takes time, in particular if projects consist of many classes, like in the case of the Guava library. To allow search-based test generation to scale up and to integrate it better into software development, continuous test generation applies test generation incrementally during continuous integration. In this paper, we report on the application of continuous test generation with EVOSUITE at the SSBSE’15 challenge on the Guava library. Our results show that continuous test generation reduces the time spent on automated test generation by 96%, while increasing code coverage by 13.9% on average.

Bibtex

@incollection{Campos:SSBSE:2015,
  author = {Campos, Jos{\'e} and Fraser, Gordon and Arcuri, Andrea and
  Abreu, Rui},
  title = {Continuous Test Generation on Guava},
  series = {Lecture Notes in Computer Science},
  year = {2015},
  isbn = {978-3-319-22182-3},
  booktitle = {Search-Based Software Engineering},
  volume = {9275},
  editor = {Barros, Márcio and Labiche, Yvan},
  doi = {10.1007/978-3-319-22183-0_16},
  url = {http://dx.doi.org/10.1007/978-3-319-22183-0_16},
  publisher = {Springer International Publishing},
  keywords = {Search-based testing; Automated unit test generation;
  Continuous integration; Continuous test generation},
  pages = {228-234},
}