Implementation Relations for Testing Through Asynchronous Channels

被引:5
作者
Hierons, Robert M. [1 ]
机构
[1] Brunel Univ, Dept Informat Syst & Comp, Uxbridge UB8 3PH, Middx, England
基金
英国工程与自然科学研究理事会;
关键词
implementation relations; software testing; asynchronous communications; first in first out channels; TRANSITION-SYSTEMS; CHECKING; DESIGN; INPUT;
D O I
10.1093/comjnl/bxs107
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper concerns testing from an input-output transition system (IOTS) model of a system under test that interacts with its environment through asynchronous first in first out (FIFO) channels. It explores methods for analysing an IOTS without modelling the channels. If IOTS M produces sequence sigma, then, since communications are asynchronous, output can be delayed and so a different sequence might be observed. Thus, M defines a language Tr(M) of sequences that can be observed when interacting with M through FIFO channels. We define implementation relations and equivalences in terms of Tr(M): an implementation relation says how IOTS N must relate to IOTS M in order for N to be a correct implementation of M. It is important to use an appropriate implementation relation since otherwise the verdict from a test run might be incorrect and also because it influences test generation. It transpires that it is undecidable whether IOTS N conforms to IOTS M and so also whether there is a test case that can distinguish between two IOTSs. We also investigate the situation in which we have a finite automaton P and either wish to know whether Tr(M) boolean AND L(P) is empty or whether Tr(M) boolean AND Tr(P) is empty and prove that these are undecidable. In addition, we give conditions under which conformance and intersection are decidable.
引用
收藏
页码:1305 / 1319
页数:15
相关论文
共 41 条
[1]   Realizaability and verification of MSC graphs [J].
Alur, R ;
Etessami, K ;
Yannakakis, M .
THEORETICAL COMPUTER SCIENCE, 2005, 331 (01) :97-114
[2]   Alternating-time temporal logic [J].
Alur, R ;
Henzinger, TA ;
Kupferman, O .
38TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 1997, :100-109
[3]   Alternating-time temporal logic [J].
Alur, R ;
Henzinger, TA ;
Kupferman, O .
JOURNAL OF THE ACM, 2002, 49 (05) :672-713
[4]  
[Anonymous], 1997, Handbook of Formal Languages
[5]  
[Anonymous], 1964, 5 ANN S SWITCH CIRC, DOI DOI 10.1109/SWCT.1964.8
[6]  
Bhateja P, 2006, LECT NOTES COMPUT SC, V4218, P369
[7]   TESTING SOFTWARE DESIGN MODELED BY FINITE-STATE MACHINES [J].
CHOW, TS .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1978, 4 (03) :178-187
[8]   ATOMIC SEMICOMMUTATIONS [J].
CLERBOUT, M ;
GONZALEZ, D .
THEORETICAL COMPUTER SCIENCE, 1994, 123 (02) :259-272
[9]   SEMICOMMUTATIONS [J].
CLERBOUT, M ;
LATTEUX, M .
INFORMATION AND COMPUTATION, 1987, 73 (01) :59-74
[10]  
CLERBOUT M, 1995, BOOK TRACES, P487