4.6 Article

Mutation-Driven Generation of Unit Tests and Oracles

Journal

IEEE TRANSACTIONS ON SOFTWARE ENGINEERING
Volume 38, Issue 2, Pages 278-292

Publisher

IEEE COMPUTER SOC
DOI: 10.1109/TSE.2011.93

Keywords

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

Funding

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

Ask authors/readers for more resources

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.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available