Interactivity in the Generation of Test Cases with Evolutionary Computation

Aurora Ramirez, Pedro Delgado-Perez, Kevin J. Valle-Gomez, Inmaculada Medina-Bulo, Jose Raul Romero
2021 2021 IEEE Congress on Evolutionary Computation (CEC)  
Test generation is a costly but necessary testing activity to increase the quality of software projects. Automated testing tools based on evolutionary computation principles constitute an appealing modern approach to support testing tasks. However, these tools still find difficulties to detect certain types of plausible faults in real-world projects. Besides, recent studies have shown that, in general, automatically-generated tests do not resemble those manually written and, consequently,
more » ... s are reluctant to adopt them. We observe two key issues, namely the opacity of the process and the lack of cooperation with the tester, currently hampering the acceptance of automated results. Based on these findings, we explore in this paper how the interaction between current tools and expert testers would help address the test case generation problem. More specifically, we identify a number of interaction opportunities related to the object-oriented test case design driven to boost their readability and detection power. Using EvoSuite as base implementation, we present a proof of concept focused on the possibility to integrate readability assessment of the most promising test suites into a genetic algorithm.
doi:10.1109/cec45853.2021.9504786 fatcat:v7btggmqwnflldtkmosvqqcsb4