4.6 Article

Mutation-Driven Generation of Unit Tests and Oracles

期刊

IEEE TRANSACTIONS ON SOFTWARE ENGINEERING
卷 38, 期 2, 页码 278-292

出版社

IEEE COMPUTER SOC
DOI: 10.1109/TSE.2011.93

关键词

Mutation analysis; test case generation; unit testing; test oracles; assertions; search-based testing

资金

  1. DFG [Ze509/5-1]
  2. Google

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

To assess the quality of test suites, mutation analysis seeds artificial defects (mutations) into programs; a nondetected mutation indicates a weakness in the test suite. We present an automated approach to generate unit tests that detect these mutations for object-oriented classes. This has two advantages: First, the resulting test suite is optimized toward finding defects modeled by mutation operators rather than covering code. Second, the state change caused by mutations induces oracles that precisely detect the mutants. Evaluated on 10 open source libraries, our mu TEST prototype generates test suites that find significantly more seeded defects than the original manually written test suites.

作者

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

评论

主要评分

4.6
评分不足

次要评分

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

推荐

暂无数据
暂无数据