Does automated white-box test generation really help software testers?
Does automated white-box test generation really help software testers?
复制标题
DOI:
10.1145/2483760.2483774
复制
发表时间:
2013-07
期刊:
影响因子:
--
通讯作者:
G. Fraser;Matthew Staats;Phil McMinn;Andrea Arcuri;F. Padberg
中科院分区:
文献类型:
--
作者:
G. Fraser;Matthew Staats;Phil McMinn;Andrea Arcuri;F. Padberg
Automated test generation techniques can efficiently produce test data that systematically cover structural aspects of a program. In the absence of a specification, a common assumption is that these tests relieve a developer of most of the work, as the act of testing is reduced to checking the results of the tests. Although this assumption has persisted for decades, there has been no conclusive evidence to date confirming it. However, the fact that the approach has only seen a limited uptake in industry suggests the contrary, and calls into question its practical usefulness. To investigate this issue, we performed a controlled experiment comparing a total of 49 subjects split between writing tests manually and writing tests with the aid of an automated unit test generation tool, EvoSuite. We found that, on one hand, tool support leads to clear improvements in commonly applied quality metrics such as code coverage (up to 300% increase). However, on the other hand, there was no measurable improvement in the number of bugs actually found by developers. Our results not only cast some doubt on how the research community evaluates test generation tools, but also point to improvements and future work necessary before automated test generation tools will be widely adopted by practitioners.