Projects per year
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.
Original language | English |
---|---|
Article number | 3572837 |
Journal | ACM Transactions on Computational Logic |
Volume | 24 |
Issue number | 2 |
DOIs | |
Publication status | Published - 28 Jan 2023 |
Bibliographical note
Funding Information:Ana Cavalcanti and James Baxter are funded by the UK EPSRC (Engineering and Physical Sciences Research Council) under Grants No EP/M025756/1 and EP/R025479/1, and by the Royal Academy of Engineering under Grant No CiET1718/45. Maciej Gazda and Robert Mark Hierons are funded by the EPSRC, under Grant No EP/R025134/1.
Publisher Copyright:
© 2023 Association for Computing Machinery.
Keywords
- exhaustive test set
- Model-based testing
- process algebra
- refinement
Projects
- 3 Finished
-
UK Trustworthy Autonomous Systems Verifiability Node
Cavalcanti, A. L. C. (Principal investigator) & Woodcock, J. (Co-investigator)
1/11/20 → 31/10/24
Project: Research project (funded) › Research
-
RoboTest: Systematic Model-Based Testing and Simulation of Mobile Autonomous Robots
Cavalcanti, A. L. C. (Principal investigator), Timmis, J. (Co-investigator) & Woodcock, J. (Co-investigator)
1/04/18 → 31/08/24
Project: Research project (funded) › Research
-
A Calculus for Software Engineering of Mobile and Autonomous Robots
Cavalcanti, A. L. C. (Principal investigator), Timmis, J. (Co-investigator), Woodcock, J. (Co-investigator), Foster, S. D. (Researcher), Li, W. (Researcher), Miyazawa, A. (Researcher) & Ribeiro, P. (Researcher)
1/09/15 → 30/06/21
Project: Research project (funded) › Research