PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
July 12, 2010156 citations

Mutation-driven generation of unit tests and oracles

View Full Paper
GFGordon FraserAZAndreas Zeller

Key Points

Key points are not available for this paper at this time.

Abstract

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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Fraser et al. (2010) studied this question.

synapsesocial.com/papers/69d6fd8e733a2b54c8aa8831https://doi.org/10.1145/1831708.1831728
Ask AI
Helpful
Bookmark
Share
View Full Paper