4.4 Article

A detailed investigation of the effectiveness of whole test suite generation

期刊

EMPIRICAL SOFTWARE ENGINEERING
卷 22, 期 2, 页码 852-893

出版社

SPRINGER
DOI: 10.1007/s10664-015-9424-2

关键词

Automated test generation; Unit testing; Search-based testing; EvoSuite

资金

  1. EPSRC [EP/K030353/1]
  2. Google Focused Research Award on Test Amplification
  3. National Research Fund, Luxembourg [FNR/P10/03]
  4. Engineering and Physical Sciences Research Council [EP/K030353/1, EP/N023978/1] Funding Source: researchfish
  5. EPSRC [EP/K030353/1, EP/N023978/1] Funding Source: UKRI

向作者/读者索取更多资源

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.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.4
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据