A detailed investigation of the effectiveness of whole test suite generation. Rojas, J. M., Vivanti, M., Arcuri, A., & Fraser, G. Empirical Software Engineering (EMSE), 2016.
Paper doi abstract bibtex A common application of search-based software testing is to generate test cases for all goals defined by a coverage criterion (e.g., lines, branches, mutants). Rather than generating one test case at a time for each of these goals individually, whole test suite generation optimizes entire test suites towards satisfying all goals at the same time. There is evidence that the overall coverage achieved with this approach is superior to that of targeting individual coverage goals. Nevertheless, there remains some uncertainty on (a) whether the results generalize beyond branch coverage, (b) whether the whole test suite approach might be inferior to a more focused search for some particular coverage goals, and (c) whether generating whole test suites could be optimized by only targeting coverage goals not already covered. In this paper, we perform an in-depth analysis to study these questions. An empirical study on 100 Java classes using three different coverage criteria reveals that indeed there are some testing goals that are only covered by the traditional approach, although their number is only very small in comparison with those which are exclusively covered by the whole test suite approach. We find that keeping an archive of already covered goals along with the tests covering them and focusing the search on uncovered goals overcomes this small drawback on larger classes, leading to an improved overall effectiveness of whole test suite generation.
@Article{emse16_effectiveness,
author = {Jos\'e Miguel Rojas and Mattia Vivanti and Andrea Arcuri and Gordon Fraser},
title = "A detailed investigation of the effectiveness of whole
test suite generation",
journal = EMSE,
year = {2016},
pages = {1--42},
abstract = "A common application of search-based software testing
is to generate test cases for all goals defined by a
coverage criterion (e.g., lines, branches,
mutants). Rather than generating one test case at a
time for each of these goals individually, whole test
suite generation optimizes entire test suites towards
satisfying all goals at the same time. There is
evidence that the overall coverage achieved with this
approach is superior to that of targeting individual
coverage goals. Nevertheless, there remains some
uncertainty on (a) whether the results generalize
beyond branch coverage, (b) whether the whole test
suite approach might be inferior to a more focused
search for some particular coverage goals, and (c)
whether generating whole test suites could be optimized
by only targeting coverage goals not already
covered. In this paper, we perform an in-depth analysis
to study these questions. An empirical study on 100
Java classes using three different coverage criteria
reveals that indeed there are some testing goals that
are only covered by the traditional approach, although
their number is only very small in comparison with
those which are exclusively covered by the whole test
suite approach. We find that keeping an archive of
already covered goals along with the tests covering
them and focusing the search on uncovered goals
overcomes this small drawback on larger classes,
leading to an improved overall effectiveness of whole
test suite generation.",
issn = "1573-7616",
doi = "10.1007/s10664-015-9424-2",
url = "http://dx.doi.org/10.1007/s10664-015-9424-2",
labels = {journal}
}
%% 2015
Downloads: 0
{"_id":"H7ijpchmmGLSWsjdc","bibbaseid":"rojas-vivanti-arcuri-fraser-adetailedinvestigationoftheeffectivenessofwholetestsuitegeneration-2016","author_short":["Rojas, J. M.","Vivanti, M.","Arcuri, A.","Fraser, G."],"bibdata":{"bibtype":"article","type":"article","author":[{"firstnames":["José","Miguel"],"propositions":[],"lastnames":["Rojas"],"suffixes":[]},{"firstnames":["Mattia"],"propositions":[],"lastnames":["Vivanti"],"suffixes":[]},{"firstnames":["Andrea"],"propositions":[],"lastnames":["Arcuri"],"suffixes":[]},{"firstnames":["Gordon"],"propositions":[],"lastnames":["Fraser"],"suffixes":[]}],"title":"A detailed investigation of the effectiveness of whole test suite generation","journal":"Empirical Software Engineering (EMSE)","year":"2016","pages":"1–42","abstract":"A common application of search-based software testing is to generate test cases for all goals defined by a coverage criterion (e.g., lines, branches, mutants). Rather than generating one test case at a time for each of these goals individually, whole test suite generation optimizes entire test suites towards satisfying all goals at the same time. There is evidence that the overall coverage achieved with this approach is superior to that of targeting individual coverage goals. Nevertheless, there remains some uncertainty on (a) whether the results generalize beyond branch coverage, (b) whether the whole test suite approach might be inferior to a more focused search for some particular coverage goals, and (c) whether generating whole test suites could be optimized by only targeting coverage goals not already covered. In this paper, we perform an in-depth analysis to study these questions. An empirical study on 100 Java classes using three different coverage criteria reveals that indeed there are some testing goals that are only covered by the traditional approach, although their number is only very small in comparison with those which are exclusively covered by the whole test suite approach. We find that keeping an archive of already covered goals along with the tests covering them and focusing the search on uncovered goals overcomes this small drawback on larger classes, leading to an improved overall effectiveness of whole test suite generation.","issn":"1573-7616","doi":"10.1007/s10664-015-9424-2","url":"http://dx.doi.org/10.1007/s10664-015-9424-2","labels":"journal","bibtex":"@Article{emse16_effectiveness,\n author = {Jos\\'e Miguel Rojas and Mattia Vivanti and Andrea Arcuri and Gordon Fraser},\n title\t = \"A detailed investigation of the effectiveness of whole\n test suite generation\",\n journal = EMSE,\n year\t = {2016},\n pages\t = {1--42},\n abstract = \"A common application of search-based software testing\n is to generate test cases for all goals defined by a\n coverage criterion (e.g., lines, branches,\n mutants). Rather than generating one test case at a\n time for each of these goals individually, whole test\n suite generation optimizes entire test suites towards\n satisfying all goals at the same time. There is\n evidence that the overall coverage achieved with this\n approach is superior to that of targeting individual\n coverage goals. Nevertheless, there remains some\n uncertainty on (a) whether the results generalize\n beyond branch coverage, (b) whether the whole test\n suite approach might be inferior to a more focused\n search for some particular coverage goals, and (c)\n whether generating whole test suites could be optimized\n by only targeting coverage goals not already\n covered. In this paper, we perform an in-depth analysis\n to study these questions. An empirical study on 100\n Java classes using three different coverage criteria\n reveals that indeed there are some testing goals that\n are only covered by the traditional approach, although\n their number is only very small in comparison with\n those which are exclusively covered by the whole test\n suite approach. We find that keeping an archive of\n already covered goals along with the tests covering\n them and focusing the search on uncovered goals\n overcomes this small drawback on larger classes,\n leading to an improved overall effectiveness of whole\n test suite generation.\",\n issn\t = \"1573-7616\",\n doi\t = \"10.1007/s10664-015-9424-2\",\n url\t = \"http://dx.doi.org/10.1007/s10664-015-9424-2\",\n labels = {journal}\n}\n\n%% 2015\n\n","author_short":["Rojas, J. M.","Vivanti, M.","Arcuri, A.","Fraser, G."],"key":"emse16_effectiveness","id":"emse16_effectiveness","bibbaseid":"rojas-vivanti-arcuri-fraser-adetailedinvestigationoftheeffectivenessofwholetestsuitegeneration-2016","role":"author","urls":{"Paper":"http://dx.doi.org/10.1007/s10664-015-9424-2"},"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"article","biburl":"https://jmrojas.github.io/cv/mybibtex.bib","dataSources":["HH2ZMm8PqShQeXCWM"],"keywords":[],"search_terms":["detailed","investigation","effectiveness","whole","test","suite","generation","rojas","vivanti","arcuri","fraser"],"title":"A detailed investigation of the effectiveness of whole test suite generation","year":2016}