Published May 26, 2019 | Version v1
Conference paper Open

On the Effectiveness of Manual and Automatic Unit Test Generation: Ten Years Later

  • 1. University of Salerno
  • 2. University of Zurich

Description

Good unit tests play a paramount role when it comes to foster and evaluate software quality. However, writing effective tests is an extremely costly and time consuming practice. To reduce such a burden for developers, researchers devised ingenious techniques to automatically generate test suite for existing code bases. Nevertheless, how automatically generated test cases fare against manually written ones is an open research question.

In 2008, Bacchelli et al. conducted an initial case study comparing automatic and manually generated test suites. Since in the last ten years we have witnessed a huge amount of work on novel approaches and tools for automatic test generation, in this paper we revise their study using current tools as well as complementing their research method by evaluating these tools' ability in finding regressions.

Notes

Preprint of the publication appeared in the proceedings of the 16th International Conference on Mining Software Repositories (MSR 2019), Montréal, Canada, 2019.

Files

serra19msr.pdf

Files (163.4 kB)

Name Size Download all
md5:59e9109a6f9fc8d766f017b97ca2d47e
163.4 kB Preview Download

Additional details

Funding

Swiss National Science Foundation
Data-driven Contemporary Code Review PP00P2_170529