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

从时态模型到基于属性的测试

From Temporal Models to Property-Based Testing

Nasser Alzahrani, Maria Spichkova, Jan Olaf Blech

摘要:

本文提出了一个框架,适用于基于属性的测试(PBT)上的时间正式模型。这项工作的目的是帮助软件工程师理解的时间模型,正式提出,并利用正式方法的优势:一个正式的方法的核心时间为基础的结构示意性地翻译为BeSpaceD扩展的Scala程序设计语言。这允许我们拥有一个对应于正式模型的可执行Scala代码,以及执行模型功能的PBT。为了模拟系统的时间特性,在目前的工作中,我们专注于两个形式语言,TLA+和FocusST。

英文摘要:

This paper presents a framework to apply property-based testing (PBT) on top of temporal formal models. The aim of this work is to help software engineers to understand temporal models that are presented formally and to make use of the advantages of formal methods: the core time-based constructs of a formal method are schematically translated to the BeSpaceD extension of the Scala programming language. This allows us to have an executable Scala code that corresponds to the formal model, as well as to perform PBT of the models functionality. To model temporal properties of the systems, in the current work we focus on two formal languages, TLA+ and FocusST.

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

↑