Mutation analysis for Java script web application testing

Kazuki Nishiura, Yuta Maezawa, Hironori Washizaki, Shinichi Honiden

Research output: Contribution to journalConference article

7 Citations (Scopus)

Abstract

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.

Original languageEnglish
Pages (from-to)159-165
Number of pages7
JournalProceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
Volume2013-January
Issue numberJanuary
Publication statusPublished - 2013 Jan 1
Event25th International Conference on Software Engineering and Knowledge Engineering, SEKE 2013 - Boston, United States
Duration: 2013 Jun 272013 Jun 29

Keywords

  • Javascript
  • Mutation analysis and testing
  • Test criteria
  • Web applications

ASJC Scopus subject areas

  • Software

Fingerprint Dive into the research topics of 'Mutation analysis for Java script web application testing'. Together they form a unique fingerprint.

  • Cite this