Affiliation:
1. University of York, Deramore Lane, York, United Kingdom, UK
2. University of Sheffield, Sheffield, United Kingdom, UK
3. Universidade Federal Rural de Pernambuco, Brazil
Abstract
This article addresses refinement and testing based on CSP models, when we distinguish input and output events. In a testing experiment, the tester (or the environment) controls the inputs, and the system under test controls the outputs. The standard models and refinement relations of CSP, however, do not differentiate inputs and outputs and are not, therefore, entirely suitable for testing. Here, we consider an alphabet of events partitioned into inputs and outputs, and we present a novel refusal-testing model for CSP with a notion of input-output refusal-traces refinement. We compare that with the ioco relation often used in testing, and we find that it is more widely applicable and stronger. This means that mistakes found using traditional ioco testing do indicate mistakes in the development. Finally, we provide a CSP testing theory that takes into account inputs and outputs. With our theory, it becomes feasible to develop techniques and tools for automatic generation of realistic and sound tests from CSP models. Our work reconciles the normally disparate areas of refinement and (formal) testing by identifying how ioco testing can be used to inform refinement-based results and vice-versa.
Funder
Royal Academy of Engineering
EPSRC
CNPq
Publisher
Association for Computing Machinery (ACM)
Subject
Computational Mathematics,Logic,General Computer Science,Theoretical Computer Science
Reference43 articles.
1. Model checking in practice: the T9000 virtual channel processor
2. M. Bijl A. Rensink and J. Tretmans. 2003. Component-based Testing with ioco. Technical Report. University of Twente. CTIT Technical Report TR CTIT 03 34. M. Bijl A. Rensink and J. Tretmans. 2003. Component-based Testing with ioco. Technical Report. University of Twente. CTIT Technical Report TR CTIT 03 34.
3. Formal Conformance Testing of Systems with Refused Inputs and Forbidden Actions
4. E. Brinksma. 1988. A theory for the derivation of tests. In Protocol Specification Testing and Verification VIII. North-Holland 63--74. E. Brinksma. 1988. A theory for the derivation of tests. In Protocol Specification Testing and Verification VIII. North-Holland 63--74.
Cited by
7 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献