Paper published in a book (Scientific congresses, symposiums and conference proceedings)
Automated Unit Test Generation during Software Development: A Controlled Experiment and Think-Aloud Observations
Rojas, José Miguel; Fraser, Gordon; Arcuri, Andrea
2015In ACM International Symposium on Software Testing and Analysis (ISSTA), 2015
Peer reviewed
 

Files


Full Text
paper_issta15.pdf
Publisher postprint (338.78 kB)
Request a copy

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
Unit testing; automated test generation
Abstract :
[en] Automated unit test generation tools can produce tests that are superior to manually written ones in terms of code coverage, but are these tests helpful to developers while they are writing code? A developer would first need to know when and how to apply such a tool, and would then need to understand the resulting tests in order to provide test oracles and to diagnose and fix any faults that the tests reveal. Considering all this, does automatically generating unit tests provide any benefit over simply writing unit tests manually? We empirically investigated the effects of using an automated unit test generation tool (EVOSUITE) during development. A controlled experiment with 41 students shows that using EVOSUITE leads to an average branch coverage increase of +13%, and 36% less time is spent on testing compared to writing unit tests manually. However, there is no clear effect on the quality of the implementations, as it depends on how the test generation tool and the generated tests are used. In-depth analysis, using five think-aloud observations with professional programmers, confirms the necessity to increase the usability of automated unit test generation tools, to integrate them better during software development, and to educate software developers on how to best use those tools.
Research center :
Interdisciplinary Centre for Security, Reliability and Trust
Disciplines :
Computer science
Author, co-author :
Rojas, José Miguel;  University of Sheffield > Department of Computer Science
Fraser, Gordon;  University of Sheffield
Arcuri, Andrea;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT)
External co-authors :
yes
Language :
English
Title :
Automated Unit Test Generation during Software Development: A Controlled Experiment and Think-Aloud Observations
Publication date :
2015
Event name :
ACM International Symposium on Software Testing and Analysis (ISSTA), 2015
Event date :
July 12-17, 2015
Audience :
International
Main work title :
ACM International Symposium on Software Testing and Analysis (ISSTA), 2015
Publisher :
ACM
Peer reviewed :
Peer reviewed
Funders :
FNR - Fonds National de la Recherche [LU]
Available on ORBilu :
since 17 June 2015

Statistics


Number of views
131 (17 by Unilu)
Number of downloads
1 (1 by Unilu)

Scopus citations®
 
45
Scopus citations®
without self-citations
37

Bibliography


Similar publications



Contact ORBilu