Verifying Web Applications: From Business Level Specifications to Automated Model-Based Testing

Christian Colombo
(PEST Research Lab, Department of Computer Science, University of Malta)
Mark Micallef
(PEST Research Lab, Department of Computer Science, University of Malta)
Mark Scerri
(PEST Research Lab, Department of Computer Science, University of Malta)

One of reasons preventing a wider uptake of model-based testing in the industry is the difficulty which is encountered by developers when trying to think in terms of properties rather than linear specifications. A disparity has traditionally been perceived between the language spoken by customers who specify the system and the language required to construct models of that system. The dynamic nature of the specifications for commercial systems further aggravates this problem in that models would need to be rechecked after every specification change. In this paper, we propose an approach for converting specifications written in the commonly-used quasi-natural language Gherkin into models for use with a model-based testing tool. We have instantiated this approach using QuickCheck and demonstrate its applicability via a case study on the eHealth system, the national health portal for Maltese residents.

In Holger Schlingloff and Alexander K. Petrenko: Proceedings Ninth Workshop on Model-Based Testing (MBT 2014), Grenoble, France, 6 April 2014, Electronic Proceedings in Theoretical Computer Science 141, pp. 14–28.
Published: 27th March 2014.

ArXived at: https://dx.doi.org/10.4204/EPTCS.141.2 bibtex PDF
References in reconstructed bibtex, XML and HTML format (approximated).
Comments and questions to: eptcs@eptcs.org
For website issues: webmaster@eptcs.org