DocumentCode :
625508
Title :
Efficient JavaScript Mutation Testing
Author :
Mirshokraie, Shabnam ; Mesbah, Ali ; Pattabiraman, Karthik
Author_Institution :
Univ. of British Columbia, Vancouver, BC, Canada
fYear :
2013
fDate :
18-22 March 2013
Firstpage :
74
Lastpage :
83
Abstract :
Mutation testing is an effective test adequacy assessment technique. However, it suffers from two main issues. First, there is a high computational cost in executing the test suite against a potentially large pool of generated mutants. Second, there is much effort involved in filtering out equivalent mutants, which are syntactically different but semantically identical to the original program. Prior work has mainly focused on detecting equivalent mutants after the mutation generation phase, which is computationally expensive and has limited efficiency. In this paper, we propose a technique that leverages static and dynamic program analysis to guide the mutation generation process a-priori towards parts of the code that are error-prone or likely to influence the program´s output. Further, we focus on the JavaScript language, and propose a set of mutation operators that are specific to web applications. We implement our approach in a tool called MUTANDIS. We empirically evaluate MUTANDIS on a number of web applications to assess the efficacy of the approach.
Keywords :
Java; program diagnostics; program testing; system monitoring; JavaScript mutation testing; MUTANDIS; Web applications; computational cost; dynamic program analysis; mutation generation phase; static program analysis; test adequacy assessment technique; test suite; Complexity theory; Equations; Frequency measurement; Instruments; Reactive power; Testing; JavaScript; equivalent mutant; mutation testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2013 IEEE Sixth International Conference on
Conference_Location :
Luembourg
Print_ISBN :
978-1-4673-5961-0
Type :
conf
DOI :
10.1109/ICST.2013.23
Filename :
6569719
Link To Document :
بازگشت