kirancodes.me
To Proof Maintenance & Beyond!

Server interface descriptions for automated testing of JavaScript web applications

Casper Svenning Jensen, Anders Møller, Zhendong Su

Abstract

Automated testing of JavaScript web applications is complicated by the communication with servers. Specifically, it is difficult to test the JavaScript code in isolation from the server code and database contents. We present a practical solution to this problem. First, we demonstrate that formal server interface descriptions are useful in automated testing of JavaScript web applications for separating the concerns of the client and the server. Second, to support the construction of server interface descriptions for existing applications, we introduce an effective inference technique that learns communication patterns from sample data.

BibTeX
@inproceedings{Jensen-al:FSE13,
  author    = {Casper Svenning Jensen and
               Anders M{\o}ller and
               Zhendong Su},
  title     = {Server interface descriptions for automated testing of {JavaScript} web applications},
  booktitle = {{ESEC/SIGSOFT} {FSE}},
  pages     = {510--520},
  publisher = {{ACM}},
  year      = {2013},
}

Related papers