Parameter Control in Search-Based Generation of Unit Test Suites

Autor: Gordon Fraser, Jonathan Turner, David Paterson, Thomas D. White
Rok vydání: 2015
Předmět:
Zdroj: Search-Based Software Engineering ISBN: 9783319221823
SSBSE
DOI: 10.1007/978-3-319-22183-0_10
Popis: Search-based testing supports developers by automatically generating test suites with high coverage, but the effectiveness of a search-based test generator depends on numerous parameters. It is unreasonable to expect developers to understand search algorithms well enough to find the optimal parameter settings for a problem at hand, and even if they did, a static value for a parameter can be suboptimal at any given point during the search. To counter this problem, parameter control methods have been devised to automatically determine and adapt parameter values throughout the search. To investigate whether parameter control methods can also improve search-based generation of test suites, we have implemented and evaluated different methods to control the crossover and mutation rate in the EvoSuite unit test generation tool. Evaluation on a selection of open source Java classes reveals that while parameter control improves the values of mutation and crossover rate successfully during runtime, the positive effects of this improvement are often countered by increased costs of fitness evaluation.
Databáze: OpenAIRE