Test generation via Dynamic Symbolic Execution for mutation testing

Lingming Zhang, Tao Xie, Lu Zhang, Nikolai Tillmann, Jonathan De Halleux, Hong Mei

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Mutation testing has been used to assess and improve the quality of test inputs. Generating test inputs to achieve high mutant-killing ratios is important in mutation testing. However, existing test-generation techniques do not provide effective support for killing mutants in mutation testing. In this paper, we propose a general test-generation approach, called PexMutator, for mutation testing using Dynamic Symbolic Execution (DSE), a recent effective test-generation technique. Based on a set of transformation rules, PexMutator transforms a program under test to an instrumented meta-program that contains mutant-killing constraints. Then PexMutator uses DSE to generate test inputs for the meta-program. The mutant-killing constraints introduced via instrumentation guide DSE to generate test inputs to kill mutants automatically. We have implemented our approach as an extension for Pex, an automatic structural testing tool developed at Microsoft Research. Our preliminary experimental study shows that our approach is able to strongly kill more than 80% of all the mutants for the five studied subjects. In addition, PexMutator is able to outperform Pex, a state-of-theart test-generation tool, in terms of strong mutant killing while achieving the same block coverage.

Original languageEnglish (US)
Title of host publicationProceedings - 2010 IEEE International Conference on Software Maintenance, ICSM 2010
DOIs
StatePublished - 2010
Externally publishedYes
Event2010 IEEE International Conference on Software Maintenance, ICSM 2010 - Timisoara, Romania
Duration: Sep 12 2010Sep 18 2010

Publication series

NameIEEE International Conference on Software Maintenance, ICSM

Conference

Conference2010 IEEE International Conference on Software Maintenance, ICSM 2010
Country/TerritoryRomania
CityTimisoara
Period9/12/109/18/10

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'Test generation via Dynamic Symbolic Execution for mutation testing'. Together they form a unique fingerprint.

Cite this