Continuous Test Generation on Guava

  • José Campos
  • Gordon Fraser
  • Andrea Arcuri
  • Rui Abreu
Conference paper

DOI: 10.1007/978-3-319-22183-0_16

Part of the Lecture Notes in Computer Science book series (LNCS, volume 9275)
Cite this paper as:
Campos J., Fraser G., Arcuri A., Abreu R. (2015) Continuous Test Generation on Guava. In: Barros M., Labiche Y. (eds) Search-Based Software Engineering. SSBSE 2015. Lecture Notes in Computer Science, vol 9275. Springer, Cham

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.

Keywords

Search-based testing Automated unit test generation Continuous integration Continuous test generation 

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  • José Campos
    • 1
  • Gordon Fraser
    • 1
  • Andrea Arcuri
    • 2
    • 3
  • Rui Abreu
    • 4
    • 5
  1. 1.Department of Computer ScienceThe University of SheffieldSheffieldUK
  2. 2.ScientaOsloNorway
  3. 3.University of LuxembourgLuxembourg CityLuxembourg
  4. 4.PARCPalo AltoUSA
  5. 5.University of PortoPortoPortugal

Personalised recommendations