Human-based Test Design versus Automated Test Generation: A Literature Review and Meta-Analysis.
Ted Kurmaku, Eduard Paul Enoiu, and Musa Kumrija
In 15th Innovations in Software Engineering Conference (ISEC 2022).
DOI: https://doi.org/10.1145/3511430.3511433
Abstract:
Automated test generation has been proposed to allow test cases to be created with less effort. While much progress has been made, it remains a challenge to automatically generate strong as well as small test suites that are also relevant to engineers. However, how these automated test generation approaches compare to or complement manually written test cases is still an open research question. In the light of the potential benefits of automated test generation in practice, its long history, and the apparent lack of summative evidence supporting its use, the present study aims to systematically review the current body of peer-reviewed publications comparing automated test generation and manual test design performed by humans. We conducted a literature review and meta-analysis to collect data comparing manually written tests with automatically generated ones regarding test efficiency and effectiveness. The overall results of the literature review suggest that automated test generation outperforms manual testing in terms of testing time, the number of tests created and the code coverage achieved. Nevertheless, most of the studies report that manually written tests detect more faults (both injected and naturally occurring ones), are more readable, and detect more specific bugs than those created using automated test generation. Our results suggest that just a few studies report specific statistics (e.g., effect sizes) that can be used in a proper meta-analysis, and therefore, results are inconclusive when comparing automated test generation and manual testing due to the lack of sufficient statistical data and power. Nevertheless, our meta-analysis results suggest that manual and automated test generation are clearly outperforming random testing for all metrics considered.
Full Text:
Bibtex:
@inproceedings{10.1145/3511430.3511433,
author = {Kurmaku, Ted and Enoiu, Eduard Paul and Kumrija, Musa},
title = {Human-Based Test Design versus Automated Test Generation: A Literature Review and Meta-Analysis},
year = {2022},
isbn = {9781450396189},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3511430.3511433},
doi = {10.1145/3511430.3511433},
booktitle = {15th Innovations in Software Engineering Conference},
articleno = {5},
numpages = {11},
location = {Gandhinagar, India},
series = {ISEC 2022}
}