Guided Mutation Testing for JavaScript Web Applications

作者: Shabnam Mirshokraie , Ali Mesbah , Karthik Pattabiraman

DOI: 10.1109/TSE.2014.2371458

关键词:

摘要: Mutation testing is an effective test adequacy assessment technique. However, there a high computational cost in executing the suite against potentially large pool of generated mutants. Moreover, much effort involved filtering out equivalent Prior work has mainly focused on detecting mutants after mutation generation phase, which computationally expensive and limited efficiency. We propose algorithm to select variables branches for as well metric, called $FunctionRank$ , rank functions according their relative importance from application’s behaviour point view. present technique that leverages static dynamic analysis guide process towards parts code are more likely influence program’s output. Further, we focus JavaScript language, set operators specific web applications. implement our approach tool Mutandis . The results empirical evaluation show (1) than 93 percent non-equivalent, (2) 75 surviving non-equivalent top 30 ranked functions.

参考文章(42)
Shabnam Mirshokraie, Ali Mesbah, JSART: javascript assertion-based regression testing international conference on web engineering. pp. 238- 252 ,(2012) , 10.1007/978-3-642-31753-8_18
Konstantinos Adamopoulos, Mark Harman, Robert M. Hierons, How to Overcome the Equivalent Mutant Problem and Achieve Tailored Selective Mutation Using Co-evolution genetic and evolutionary computation conference. pp. 1338- 1349 ,(2004) , 10.1007/978-3-540-24855-2_155
Baowen Xu, Zhihong Zhao, Zhenyu Chen, Changbin Ji, A Novel Method of Mutation Clustering Based on Domain Analysis. software engineering and knowledge engineering. pp. 422- 425 ,(2009)
David Schuler, Andreas Zeller, Covering and Uncovering Equivalent Mutants Software Testing, Verification and Reliability. ,vol. 23, pp. 353- 374 ,(2013) , 10.1002/STVR.1473
Douglas Crockford, JavaScript: The Good Parts ,(2008)
A.J. Offutt, Jie Pan, Detecting equivalent mutants and the feasible path problem Proceedings of 11th Annual Conference on Computer Assurance. COMPASS '96. pp. 224- 236 ,(1996) , 10.1109/CMPASS.1996.507890
T.J. McCabe, A Complexity Measure IEEE Transactions on Software Engineering. ,vol. SE-2, pp. 308- 320 ,(1976) , 10.1109/TSE.1976.233837
J.J. Domínguez-Jiménez, A. Estero-Botaro, A. García-Domínguez, I. Medina-Bulo, Evolutionary mutation testing Information & Software Technology. ,vol. 53, pp. 1108- 1123 ,(2011) , 10.1016/J.INFSOF.2011.03.008
Rob Hierons, Mark Harman, Sebastian Danicic, Using program slicing to assist in the detection of equivalent mutants Software Testing, Verification and Reliability. ,vol. 9, pp. 233- 262 ,(1999) , 10.1002/(SICI)1099-1689(199912)9:4<233::AID-STVR191>3.0.CO;2-3
David Schuler, Valentin Dallmeier, Andreas Zeller, Efficient mutation testing by checking invariant violations Proceedings of the eighteenth international symposium on Software testing and analysis - ISSTA '09. pp. 69- 80 ,(2009) , 10.1145/1572272.1572282