EMSE: A detailed investigation of the effectiveness of whole test suite generation

  • [PDF] [DOI] J. M. Rojas, M. Vivanti, A. Arcuri, and G. Fraser, “A detailed investigation of the effectiveness of whole test suite generation,” Empirical Software Engineering, pp. 1-42, 2016.
    [Bibtex]
    @Article{emse16_effectiveness,
    author="Rojas, Jos{\'e} Miguel
    and Vivanti, Mattia
    and Arcuri, Andrea
    and Fraser, Gordon",
    title="A detailed investigation of the effectiveness of whole test suite generation",
    journal="Empirical Software Engineering",
    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"
    }