Automated unit test generation during software development: a controlled experiment and think-aloud observations. Rojas, J. M., Fraser, G., & Arcuri, A. In ACM Int. Symposium on Software Testing and Analysis (ISSTA), pages 338–349, 2015. ACM. doi abstract bibtex 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 \emphwhile 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 \emphusability of automated unit test generation tools, to \emphintegrate them better during software development, and to \empheducate software developers on how to best use those tools.
@inproceedings{RojasFA15,
author = {Jos\'e Miguel Rojas and Gordon Fraser and Andrea
Arcuri},
title = {Automated unit test generation during software
development: a controlled experiment and think-aloud
observations},
booktitle = ISSTA,
pages = {338--349},
doi = {10.1145/2771783.2771801},
publisher = {{ACM}},
year = {2015},
isbn = {978-1-4503-3620-8},
labels = {conf},
abstract = {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 \emph{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 \emph{usability}
of automated unit test generation tools, to \emph{integrate} them
better during software development, and to \emph{educate} software
developers on how to best use those tools.}
}
Downloads: 0
{"_id":"HEfjvFZxAxPoSernk","bibbaseid":"rojas-fraser-arcuri-automatedunittestgenerationduringsoftwaredevelopmentacontrolledexperimentandthinkaloudobservations-2015","author_short":["Rojas, J. M.","Fraser, G.","Arcuri, A."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","author":[{"firstnames":["José","Miguel"],"propositions":[],"lastnames":["Rojas"],"suffixes":[]},{"firstnames":["Gordon"],"propositions":[],"lastnames":["Fraser"],"suffixes":[]},{"firstnames":["Andrea"],"propositions":[],"lastnames":["Arcuri"],"suffixes":[]}],"title":"Automated unit test generation during software development: a controlled experiment and think-aloud observations","booktitle":"ACM Int. Symposium on Software Testing and Analysis (ISSTA)","pages":"338–349","doi":"10.1145/2771783.2771801","publisher":"ACM","year":"2015","isbn":"978-1-4503-3620-8","labels":"conf","abstract":"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 \\emphwhile 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 \\emphusability of automated unit test generation tools, to \\emphintegrate them better during software development, and to \\empheducate software developers on how to best use those tools.","bibtex":"@inproceedings{RojasFA15,\n author = {Jos\\'e Miguel Rojas and Gordon Fraser and Andrea\n Arcuri},\n title\t = {Automated unit test generation during software\n development: a controlled experiment and think-aloud\n observations},\n booktitle = ISSTA,\n pages\t = {338--349},\n doi\t = {10.1145/2771783.2771801},\n publisher = {{ACM}},\n year\t = {2015},\n isbn\t = {978-1-4503-3620-8},\n labels = {conf},\n abstract = {Automated unit test generation tools can produce tests\nthat are superior to manually written ones in terms of code coverage,\nbut are these tests helpful to developers \\emph{while they are writing\ncode}? A developer would first need to know when and how to apply such\na tool, and would then need to understand the resulting tests in order\nto provide test oracles and to diagnose and fix any faults that the\ntests reveal. Considering all this, does automatically generating unit\ntests provide any benefit over simply writing unit tests manually? We\nempirically investigated the effects of using an automated unit test\ngeneration tool (EvoSuite) during development. A controlled experiment\nwith 41 students shows that using EvoSuite leads to an average branch\ncoverage increase of +13\\%, and 36\\% less time is spent on testing\ncompared to writing unit tests manually. However, there is no clear\neffect on the quality of the implementations, as it depends on how the\ntest generation tool and the generated tests are used. In-depth\nanalysis, using five think-aloud observations with professional\nprogrammers, confirms the necessity to increase the \\emph{usability}\nof automated unit test generation tools, to \\emph{integrate} them\nbetter during software development, and to \\emph{educate} software\ndevelopers on how to best use those tools.}\n}\n\n","author_short":["Rojas, J. M.","Fraser, G.","Arcuri, A."],"key":"RojasFA15","id":"RojasFA15","bibbaseid":"rojas-fraser-arcuri-automatedunittestgenerationduringsoftwaredevelopmentacontrolledexperimentandthinkaloudobservations-2015","role":"author","urls":{},"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"inproceedings","biburl":"https://jmrojas.github.io/cv/mybibtex.bib","dataSources":["HH2ZMm8PqShQeXCWM"],"keywords":[],"search_terms":["automated","unit","test","generation","during","software","development","controlled","experiment","think","aloud","observations","rojas","fraser","arcuri"],"title":"Automated unit test generation during software development: a controlled experiment and think-aloud observations","year":2015}