Affiliation:
1. University of York, York, UK
2. University of Sheffield, Sheffield, UK
Abstract
The existing testing theories for CSP cater for verification of interaction patterns (traces) and deadlocks, but not time. We address here refinement and testing based on a dialect of CSP, called
tock
-CSP, which can capture discrete time properties. This version of CSP has been of widespread interest for decades; recently, it has been given a denotational semantics, and model checking has become possible using a well established tool. Here, we first equip
tock
-CSP with a novel semantics for testing, which distinguishes input and output events: the standard models of (
tock
-)CSP do not differentiate them, but for testing this is essential. We then present a new testing theory for timewise refinement, based on novel definitions of test and test execution. Finally, we reconcile refinement and testing by relating timed ioco testing and refinement in
tock
-CSP with inputs and outputs. With these results, this paper provides, for the first time, a systematic theory that allows both timed testing and timed refinement to be expressed. An important practical consequence is that this ensures that the notion of correctness used by developers guarantees that tests pass when applied to a correct system and, in addition, faults identified during testing correspond to development mistakes.
Funder
UK EPSRC
Royal Academy of Engineering
EPSRC
Publisher
Association for Computing Machinery (ACM)
Subject
Computational Mathematics,Logic,General Computer Science,Theoretical Computer Science
Reference57 articles.
1. P. Armstrong, G. Lowe, J. Ouaknine, and A. W. Roscoe. 2012. Model checking timed CSP. In Festschrift for Howard Barringer.
2. J. Baxter, A. L. C. Cavalcanti, M. Gazda, and R. Hierons. 2022. Testing Using CSP Models: Time, Inputs, and Outputs – Extended Version. Technical Report. RoboStar Centre on Software Engineering for Robotics. Available at robostar.cs.york.ac.uk/publications/reports/BCGH22.pdf.
3. Sound reasoning in tock-CSP
4. n-Complete test suites for IOCO;Bos P.;Software Quality Journal,2019
5. Formal conformance testing of systems with refused inputs and forbidden actions;Bourdonov I. B.;Electronic Notes in Theoretical Computer Science,2006
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献