Baxter, J., Cavalcanti, A., Gazda, M. et al. (1 more author) (2023) Testing using CSP models: time, inputs, and outputs. ACM Transactions on Computational Logic, 24 (2). 17. ISSN 1529-3785
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.
Metadata
Item Type: | Article |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | © 2023 Association for Computing Machinery. This is an author-produced version of a paper subsequently published in ACM Transactions on Computational Logic. Uploaded in accordance with the publisher's self-archiving policy. |
Keywords: | Model-based testing; exhaustive test set; process algebra; refinement |
Dates: |
|
Institution: | The University of Sheffield |
Academic Units: | The University of Sheffield > Faculty of Engineering (Sheffield) > Department of Computer Science (Sheffield) |
Funding Information: | Funder Grant number ENGINEERING AND PHYSICAL SCIENCE RESEARCH COUNCIL EP/R025134/2 Engineering and Physical Sciences Research Council EP/V026801/2 |
Depositing User: | Symplectic Sheffield |
Date Deposited: | 29 Nov 2022 15:38 |
Last Modified: | 30 Mar 2023 12:17 |
Status: | Published |
Publisher: | Association for Computing Machinery (ACM) |
Refereed: | Yes |
Identification Number: | 10.1145/3572837 |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:193596 |