Mutation-driven Generation of Unit Tests and Oracles - ISSTA 2010
by Gordon Fraser, Andreas Zeller

July 2010.

Download as PDF file.


To assess the quality of test suites, mutation analysis seeds artificial defects (mutations) into programs; a non-detected 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 towards finding defects rather than covering code. Second, the state change caused by mutations induces oracles that precisely detect the mutants. Evaluated on two open source libraries, our MuTest prototype generates test suites that find significantly more seeded defects than the original manually written test suites.


BibTeX Entry

    title = "Mutation-driven Generation of Unit Tests and Oracles",
    author = "Gordon Fraser and Andreas Zeller",
    year = "2010",
    month = jul,
    location = "Trento",

Show all publications of the Software Engineering Chair.