Print Email Facebook Twitter Improving Automatic Test Case Generation by predicting optimal Fitness Functions Title Improving Automatic Test Case Generation by predicting optimal Fitness Functions Author Kling, Toon (TU Delft Electrical Engineering, Mathematics and Computer Science) Contributor Olsthoorn, Mitchell (mentor) Derakhshanfar, P. (mentor) Panichella, A. (mentor) Höllt, T. (graduation committee) Degree granting institution Delft University of Technology Programme Computer Science and Engineering Project CSE3000 Research Project Date 2022-06-22 Abstract Recently, automating test suite generation is a problem that has drown attention in both industry and academia. One of the tools used to automatically generate test suites is EvoSuite, which is a state-of-the-art tool often used in research. It uses a genetic algorithm, which seeks to maximize certain coverage criteria, such as Branch Coverage or Exception Coverage. Previous research has investigated the possibility of combining multiple coverage criteria, but there is no single combination which performs best for all classes. This paper aims to investigate if it possible to predict when coverage criteria perform best, specifically Exception Coverage, according to the characteristics of the class under test. The paper shows that there is a significant difference between the performances of these coverage criteria. The paper also shows that this difference can be predicted using a Machine Learning model with an f1-score of 0,865, when performance was measured using Mutation Score. Lastly, an exploration is made into the characteristics of the Class-under-test which cause this. To reference this document use: http://resolver.tudelft.nl/uuid:33e63337-2f99-4d5e-9e84-ed23ae0824c9 Part of collection Student theses Document type bachelor thesis Rights © 2022 Toon Kling Files PDF Paper_FINAL.pdf 762.63 KB Close viewer /islandora/object/uuid:33e63337-2f99-4d5e-9e84-ed23ae0824c9/datastream/OBJ/view