@inproceedings{d3059b4932954f5cb37e45e354bcee35,
title = "Shrinking Counterexamples in Property-Based Testing with Genetic Algorithms",
abstract = "In this paper, genetic algorithms are proposed to shrink counterexamples found by QuickChick, a property-based testing framework for Coq. In order to make the outcome of property-based testing humanly understandable and inspectable, genetic algorithms are brought into the realm of rigorous software development as shrinkers capable of handling a broad range of data structures. In the present study, two showcases, merge sort and insertion of red-black trees, are investigated for illustrative purposes. Due to the lack of relevant results existing in the literature, two baseline methods, random sample and random walk are included in the experiments for comparison with the proposed genetic algorithm. The obtained results indicate that the proposal is effective since the program mistake can be identified with ease by examining the shrunk counterexamples and also that the adopted genetic algorithm statistically significantly outperforms random sample and random walk in both counterexample sizes and running time.",
keywords = "Genetic algorithms, Software, Vegetation, Urban areas, Software testing, Binary search trees",
author = "Lo, {Fang Yi} and Chen, {Chao Hong} and Ying-Ping Chen",
note = "Funding Information: ACKNOWLEDGMENTS The work was supported in part by the Ministry of Science and Technology of Taiwan under Grant MOST 108-2221-E-009-077. The authors are grateful to the National Center for High-performance Computing for computer time and facilities.; 2020 IEEE Congress on Evolutionary Computation, CEC 2020 ; Conference date: 19-07-2020 Through 24-07-2020",
year = "2020",
month = jul,
doi = "10.1109/CEC48606.2020.9185807",
language = "American English",
series = "2020 IEEE Congress on Evolutionary Computation, CEC 2020 - Conference Proceedings",
publisher = "Institute of Electrical and Electronics Engineers Inc.",
booktitle = "2020 IEEE Congress on Evolutionary Computation, CEC 2020 - Conference Proceedings",
address = "United States",
}