Regression testing plays a crucial role in software engineering by ensuring that code modifications do not introduce defects into previously stable systems. However, as software projects evolve in scale and complexity, executing the full regression test suite becomes increasingly costly. To mitigate this challenge, the research community has explored diverse strategies, including test case generation and test case amplification, both of which aim to improve coverage and fault detection efficiency. While each of these strategies has been widely investigated, in this paper we report a first preliminary empirical study on the effectiveness of combining test case generation and test case amplification. We evaluate EvoSuite (generation) and DSpot (amplification) as representatives of these strategies, both individually and in combination, using mutation score as the primary metric. Preliminary results indicate that the combination of the two approaches achieves the highest median mutation score, surpassing individual techniques. Although improvements are not always statistically significant, the consistent trend suggests a potential synergy between generation and amplification techniques. Nevertheless, further studies are necessary to properly evaluate this trend and consolidate the initial evidence. These early findings provide initial insights for practitioners interested in regression testing optimization, while highlighting the need for more extensive investigation, particularly in large-scale and continuous integration environments.
翻译:暂无翻译