Affiliation:
1. Dept. Sistemas Informáticos y Computación, Facultad de Informática, Universidad Complutense de Madrid, 28040, Madrid, Spain
Abstract
Abstract
Given a finite state machine denoting the
specification
of a system, finding some short interaction sequences capable of reaching some/all states or transitions of this machine is a typical goal in testing methods. If these sequences are applied to an
implementation under test
, then equivalent states or transitions would be reached and observed in the implementation—provided that the implementation were actually defined as the specification. We study the problem of finding such sequences in the case where configurations previously traversed can be
saved
and
restored
(at some cost). In general, this feature enables sequences to reach the required parts of the machine in less time, because some repetitions can be avoided. However, we show that finding optimal sequences in this case is an NP-hard problem. We propose an heuristic method to approximately solve this problem based on an evolutionary computation approach, in particular
river formation dynamics
(RFD). Given
finite state machine
specifications and sets of states/transitions to be reached, we apply RFD to construct testing plans reaching these configurations. Experimental results show that being able to load previously traversed states generally reduces the time needed to cover the target configurations.
Publisher
Association for Computing Machinery (ACM)
Subject
Theoretical Computer Science,Software
Reference64 articles.
1. Alba E Chicano JF (2007) Ant colony optimization for model checking. In: EUROCAST’07. LNCS vol 4739 pp 523–530
2. Aho A Dahbura A Lee D Uyar MÜ (1988) An optimization technique for protocol conformance test generation based on UIO sequences and Rural Chinese Postman tours. In: Protocol specification testing and verification PSTV’88. North-Holland Amsterdam pp 75–86
3. Antoniol G Di Penta M Harman M (2004) A robust search-based approach to project management in the presence of abandonment rework error and uncertainty. In: IEEE software metrics symposium METRICS’04. IEEE Computer Society New York pp 172–183
4. Alba E Troya JM (1996) Genetic algorithms for protocol validation. In: Parallel problem solving from nature PPSN’96. LNCS vol 1141. Springer Berlin pp 870–879
5. Software testing based on formal specifications: a theory and a tool
Cited by
11 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献