arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1403.7258cs.SE
收藏

WEB应用程序:从业务级规范到基于模型的自动化测试

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

Christian Colombo, Mark Micallef, Mark Scerri

摘要:

阻止基于模型的测试在行业中得到更广泛应用的原因之一是开发人员在试图根据属性而不是线性规范进行思考时遇到的困难。传统上,在指定系统的客户所说的语言和构建该系统模型所需的语言之间存在差异。商业系统规范的动态性进一步加剧了这一问题,因为每次规范更改后都需要重新检查模型。在本文中,我们提出了一种方法,用于转换规格书中常用的准自然语言小黄瓜到模型使用基于模型的测试工具。我们使用QuickCheck实例化了这种方法,并通过对马耳他居民的国家健康门户网站eHealth系统的案例研究证明了其适用性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑