On-the-fly conformance testing using SPIN

被引:22
作者
De Vries R.G. [1 ]
Tretmans J. [1 ]
机构
[1] University of Twente, Department of Computer Science, Formal Methods and Tools Group, 7500 AE Enschede
关键词
Conformance testing; Formal methods; Spin verification tool; Test automation; Test generation algorithms;
D O I
10.1007/s100090050044
中图分类号
学科分类号
摘要
In this paper we report on the construction of a tool for conformance testing based on Spin. The Spin tool has been adapted such that it can derive the building blocks for constructing test cases, called test primitives, from systems described in Promela. The test primitives support the on-the-fly conformance testing process. Traditional derivation of tests from formal specifications suffers from the state-space explosion problem. Spin is one of the most advanced model checkers with respect to handling large state spaces. This advantage of Spin has been used for the derivation of test primitives from a Promela description. To reduce the state space, we introduce the on-the-fly testing framework. One of the components within this framework is the Primer. The Primer is responsible for deriving test primitives from a model of a system according to a well-defined and complete testing theory. Algorithms are presented which enable us to derive test primitives from a Promela description. These algorithms have been implemented in the adapted version of the Spin tool which acts as the Primer in the framework. Promising experiments have been carried out on an example case study. As a result of this study it is concluded that it is possible to derive test primitives automatically from Promela descriptions, construct test cases from these test primitives, and execute the test cases on-the-fly. © 2000 Springer-Verlag.
引用
收藏
页码:382 / 393
页数:11
相关论文
共 25 条
[1]
Belinfante A., Feenstra J., De Vries R.G., Tretmans J., Goga N., Feijs L., Mauw S., Heerink L., Formal test automation: A simple experiment, Int. Workshop on Testing of Communicating Systems, pp. 179-196, (1999)
[2]
Brinksma E., A theory for the derivation of tests, Protocol Specification, pp. 63-74, (1988)
[3]
Brinksma E., Scollo G., Steenbergen C., LOTOS speci fications, their implementations and their tests, Protocol Specification, pp. 349-360, (1987)
[4]
Nicola D.R., Extensional equivalences for transition systems, Acta Informatica, 24, pp. 211-237, (1987)
[5]
Nicola D.R., Hennessy M.C.B., Testing equivalences for processes, Theoretical Computer Science, 34, pp. 83-133, (1984)
[6]
Fernandez J.-C., Garavel H., Kerbrat A., Mateescu R., Mounier L., Sighireanu M., CADP (Cæsar/Aldebaran Development Package): A protocol validation and verification toolbox, Computer Aided Verification CAV '96. LNCS 1102, (1996)
[7]
Fernandez J.-C., Jard C., Jeron T., Viho C., Using on-thefly verification techniques for the generation of test suites, Computer Aided Verification CAV' 96. LNCS 1102, (1996)
[8]
Pires F.L., Protocol implementation: Manual for practical exercises 1995/1996, (1995)
[9]
Garavel H., Open/Cæsar: An open software architecture for verification, simulation, and testing, Fourth Int. Workshop on Tools and Algorithms for the Construction and Analysis of Systems (TACAS '98), pp. 68-84, (1998)
[10]
Heerink L., Ins and Outs in Refusal Testing, (1998)