TY - GEN
T1 - Test generation via Dynamic Symbolic Execution for mutation testing
AU - Zhang, Lingming
AU - Xie, Tao
AU - Zhang, Lu
AU - Tillmann, Nikolai
AU - De Halleux, Jonathan
AU - Mei, Hong
PY - 2010
Y1 - 2010
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=78650145373&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=78650145373&partnerID=8YFLogxK
U2 - 10.1109/ICSM.2010.5609672
DO - 10.1109/ICSM.2010.5609672
M3 - Conference contribution
AN - SCOPUS:78650145373
SN - 9781424486298
T3 - IEEE International Conference on Software Maintenance, ICSM
BT - Proceedings - 2010 IEEE International Conference on Software Maintenance, ICSM 2010
T2 - 2010 IEEE International Conference on Software Maintenance, ICSM 2010
Y2 - 12 September 2010 through 18 September 2010
ER -