DocumentCode
2673888
Title
Test generation via Dynamic Symbolic Execution for mutation testing
Author
Zhang, Lingming ; Xie, Tao ; Zhang, Lu ; Tillmann, Nikolai ; De Halleux, Jonathan ; Mei, Hong
Author_Institution
Key Lab. of High Confidence Software Technol., Peking Univ., Beijing, China
fYear
2010
fDate
12-18 Sept. 2010
Firstpage
1
Lastpage
10
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-the-art test-generation tool, in terms of strong mutant killing while achieving the same block coverage.
Keywords
program testing; software engineering; software tools; PexMutator; automatic structural testing tool; dynamic symbolic execution; instrumented metaprogram; mutant killing constraints; mutant killing ratio; mutation testing; test generation techniques; test inputs quality; Connectors; Engines; Instruments; Software; Syntactics; Testing; Wrapping;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance (ICSM), 2010 IEEE International Conference on
Conference_Location
Timisoara
ISSN
1063-6773
Print_ISBN
978-1-4244-8630-4
Electronic_ISBN
1063-6773
Type
conf
DOI
10.1109/ICSM.2010.5609672
Filename
5609672
Link To Document