Chapter Five

Advances in Testing JavaScript-Based Web Applications

Ali Mesbah*,1    * Department of Electrical and Computer Engineering, University of British Columbia, British Columbia, Canada1 Corresponding author: email address:


JavaScript is a flexible and expressive prototype-based scripting language that is used by developers to create interactive web applications. The language is interpreted, dynamic, weakly typed, and has first-class functions. It also interacts extensively with other web languages such as CSS and HTML at runtime. All these characteristics make JavaScript code particularly error-prone and challenging to analyze and test. In this chapter, we explore recent advances made in analysis and testing ...

Get Advances in Computers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.