TY - JOUR
T1 - Mutation analysis for Java script web application testing
AU - Nishiura, Kazuki
AU - Maezawa, Yuta
AU - Washizaki, Hironori
AU - Honiden, Shinichi
PY - 2013/1/1
Y1 - 2013/1/1
N2 - When developers test modern web applications that use JavaScript, challenging issues lie in their event-driven, asynchronous, and dynamic features. Many researchers have assessed the adequacy of test cases with code coverage criteria; however, in this paper, we show that the code coverage-based approach possibly misses some faults in the applications. We propose a mutation analysis approach for estimating the faultfinding capability of test cases. We assume that developers can find overlooked fault instances and improve the test cases with the estimated capability. To create a set of faulty programs, i.e., mutants, we classify the JavaScript features in web applications and then define a comprehensive set of mutation operators. We conducted a case study on a real-world application and found that our approach supported the improvement of test cases to expose hand-seeded faults by an extra ten percent.
AB - When developers test modern web applications that use JavaScript, challenging issues lie in their event-driven, asynchronous, and dynamic features. Many researchers have assessed the adequacy of test cases with code coverage criteria; however, in this paper, we show that the code coverage-based approach possibly misses some faults in the applications. We propose a mutation analysis approach for estimating the faultfinding capability of test cases. We assume that developers can find overlooked fault instances and improve the test cases with the estimated capability. To create a set of faulty programs, i.e., mutants, we classify the JavaScript features in web applications and then define a comprehensive set of mutation operators. We conducted a case study on a real-world application and found that our approach supported the improvement of test cases to expose hand-seeded faults by an extra ten percent.
KW - Javascript
KW - Mutation analysis and testing
KW - Test criteria
KW - Web applications
UR - http://www.scopus.com/inward/record.url?scp=84906251613&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84906251613&partnerID=8YFLogxK
M3 - Conference article
AN - SCOPUS:84906251613
SN - 2325-9000
VL - 2013-January
SP - 159
EP - 165
JO - Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
JF - Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
IS - January
T2 - 25th International Conference on Software Engineering and Knowledge Engineering, SEKE 2013
Y2 - 27 June 2013 through 29 June 2013
ER -