An Application of Model Seeding to Search-based Unit Test Generation for Gson

Conference Paper (2020)
Author(s)

Mitchell Olsthoorn (TU Delft - Software Engineering)

Pouria Derakhshanfar (TU Delft - Software Engineering)

Xavier Devroey (TU Delft - Software Engineering)

Research Group
Software Engineering
Copyright
© 2020 Mitchell Olsthoorn, P. Derakhshanfar, Xavier Devroey
DOI related publication
https://doi.org/10.1007/978-3-030-59762-7_17
More Info
expand_more
Publication Year
2020
Language
English
Copyright
© 2020 Mitchell Olsthoorn, P. Derakhshanfar, Xavier Devroey
Research Group
Software Engineering
Pages (from-to)
239-245
ISBN (print)
9783030597610
ISBN (electronic)
978-3-030-59762-7
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Model seeding is a strategy for injecting additional information in a search-based test generation process in the form of models, representing usages of the classes of the software under test. These models are used during the search-process to generate logical sequences of calls whenever an instance of a specific class is required. Model seeding was originally proposed for search-based crash reproduction. We adapted it to unit test generation using EvoSuite and applied it to GSON, a Java library to convert Java objects from and to JSON. Although our study shows mixed results, it identifies potential future research directions.

Files

Ssbse_challenge_2020_CR.pdf
(pdf | 0.377 Mb)
License info not available