Complutense University Library

Extending Stream X-Machines to specify and test systems with timeouts


García Merayo, Mercedes and Hierons, Robert M. and Núñez García, Manuel (2008) Extending Stream X-Machines to specify and test systems with timeouts. In SEFM 2008: Sixth IEEE International Conference on Software Engineering and Formal Methods, Proceedings. IEEE Computer Soc, LOS ALAMITOS, pp. 201-210. ISBN 978-0-7695-3437-4

[img] PDF
Restringido a Repository staff only hasta 31 December 2020.


Official URL:


Stream X-machines are a kind of extended finite state machine used to specify real systems where communication between the components is modeled by using a shared memory. In this paper we introduce an extension of the Stream X-machines formalism in order to specify delays/timeouts. The time spent by a system waiting for the environment to react has the capability of affecting the set of available outputs of the system. So, a relation focusing on functional aspects must explicitly take into account the possible timeouts. We also propose a formal testing methodology allowing to systematically test a system with respect to a specification. Finally, we introduce a test derivation algorithm. Given a specification, the derived test suite is sound and complete, that is, a system under test successfully passes the test suite if and only if this system conforms to the specification.

Item Type:Book Section
Additional Information:

6th IEEE International Conference on Software Engineering and Formal Methods. NOV 10-14, 2008. Cape Town, SOUTH AFRICA.

Uncontrolled Keywords:Finite-state machines; Timed automata; Specification; Computer Science; Software Engineering; Engineering; Electrical & Electronic
Subjects:Sciences > Mathematics > Operations research
ID Code:15759

R. Alur and D. Dill. A theory of timed automata. Theoretical Computer Science, 126:183–235, 1994.

J. Barnard. COMX: A design methodology using communicating X–machines. Information and Software Technology, 40(5–6):271–280, 1998.

K. Bogdanov, M. Holcombe, F. Ipate, L. Seed, and S. Vanak. Testing methods for X-machines: a review. Formal Aspects of Computing, 18:3–30, 2006.

L. Brand´an Briones and E. Brinksma. Testing real-time multi input-output systems. In 7th Int. Conf. on Formal Engineering Methods, ICFEM'05, LNC3 3785, pages 264-279. Springer 2005.

E. Brinksma and J. Tretmans. Testing transition systems: An annotated bibliography. In 4th Summer School on Modeling and Verification of Parallel Processes, MOVEP’00, LNCS 2067, pages 187–195. Springer, 2001.

R. Cardell-Oliver. Conformance tests for real-time systems with timed automata specifications. Formal Aspects of Computing, 12(5):350–371, 2000.

R. Cardell-Oliver and T. Glover. A practical and complete algorithm for testing real-time systems. In 5th Int.Symposium on Formal Techniques In Real-Time and Fault-Tolerant Systems, FTRTft'98, LNCS 1486, pages 251-260. Springer 2005.

T. Chow. Testing software design modelled by finite state machines. IEEE Transactions on Software Engineering,4:178-187, 1978.

D. Clarke and I. Lee. Automatic generation of tests for timing constraints from requirements. In 3rd Workshop on Object-Oriented Real-Time Dependable Systems WORDS'97, pages 199-206. IEEE Computer Society Press, 1997.

A. En-Nouaary, R. Dssouli, and F. Khendek. Timed Wpmethod: Testing real time systems. IEEE Transactions on Software Engineering, 28(11): 1024-1039, 2002.

H. Fouchal, E. Petitjean, and S. Salva. An user-oriented testing of real time systems. In IEEE Workshop on Real- Time Embedded Systems, RTES'01. IEEE Computer Society Press, 2001.

R. Hierons, K. Bogdanov, J. Bowen, R. Cleaveland, J. Derrick, J. Dick, M. Gheorghe, M. Harman, K. Kapoor,P. Krause, G Luettgen, A. Simons, S. Vilkomir, M. Woodward, and H. Zedan. Using formal methods to support testing. ACM Computing Surveys (in press), 2008.

R. Hierons and M. Harman. Testing conformance of a deterministic implementation to a non-deterministic stream Xmachine. Theoretical Computer Science, 323(1–3):191– 233, 2004.

R. Hierons, M. Merayo, and M. Núñez. Testing from a stochastic timed system with a fault model, 2008. Submitted.

T. Higashino, A. Nakatam K. Taniguchi, and A. Cavalli. Generating test cases for a timed I/O automaton model. In 12th Int. Workshop on Testing of Communicating Systems IWTCS'99, pages 197-214. Kluwer Academic Publishers, 1999.

M. Holcombe. X–machines as a basis for dynamic system specification. Software Engineering Journal, 3(2):69–76, 1988.

M. Holcombe and F. Ipate. Correct Systems: Building a Business Process Solution. Springer, 1998.

F. Ipate and M. Holcombe. An integration testing method that is proved to find all faults. International Journal of Computer Mathematics, 63(3-4):159–178, 1997.

P. Kefalas, G. Eleftherakis, and E. Kehris. Communicating X-machines: a practical approach for formal and modular specification of large systems. Information and Software Technology, 45(5):269–280, 2003.

E. Kehris, G. Eleftherakis, and P. Kefalas. Using X– machines to model and test discrete event simulation programs. In N. Mastorakis, editor, Systems and Control: Theory and Applications, pages 163–171. World Scientific and Engineering Society Press, 2000.

M. Krichen and S. Tripakis. An expressive and implementable formal framework for testing real-time systems. In 17th Int. Conf. on Testing of Communicating Systems, Test- Com’05, LNCS 3502, pages 209–225. Springer, 2005.

D. Lee and M. Yannakakis. Principles and methods of testing finite state machines: A survey. Proceedings of the IEEE, 84(8):1090–1123, 1996.

D. Mandrioli, S. Morasca, and A. Morzenti. Generating test cases for real time systems from logic specifications. ACM Transactions on Computer Systems, 13(4):356–398, 1995.

M. Merayo and M. Núñez. Testing conformance on stochastic stream X-machines. In 5th IEEE Int. Conf. on Software Engineering and Formal Methods, SEFM’07, pages 227– 236. IEEE Computer Society Press, 2007.

M. Merayo, M. Núñez, and I. Rodríguez. Extending EFSMs to specify and test timed systems with action durations and timeouts. IEEE Transactions on Computers, 57(6):835–848, 2008.

M. Merayo, M. Núñez, and I. Rodríguez. Formal testing from timed finite state machines. Computer Networks, 52(2):432–460, 2008.

M. Núñez and I. Rodríguez. Encoding PAMR into (timed) EFSMs. In 22nd IFIP WG 6.1 Int. Conf. on Formal Techniques for Networked and Distributed Systems, FORTE’02, LNCS 2529, pages 1–16. Springer, 2002.

M. Núñez and I. Rodríguez. Towards testing stochastic timed systems. In 23rd IFIP WG 6.1 Int. Conf. on Formal Techniques for Networked and Distributed Systems, FORTE’03, LNCS 2767, pages 335-350. Springer, 2003.

J. Peleska and M. Siegel. Test automation of safety-critical reactive systems. South African Computer Journal, 19:53– 77, 1997.

A. Petrenko. Fault model-driven test derivation from finite state models: Annotated bibliography. In 4th Summer School on Modeling and Verification of Parallel Processes, MOVEP’00, LNCS 2067, pages 196–205. Springer, 2001.

I. Rodríguez, M. Merayo, and M. Núñez. HOT L: Hypotheses and observations testing logic. Journal of Logic and Algebraic Programming, 74(2):57–93, 2008.

J. Springintveld, F. Vaandrager, and P. D’Argenio. Testing timed automata. Theoretical Computer Science, 254(1- 2):225–257, 2001. Previously appeared as Technical Report CTIT-97-17, University of Twente, 1997.

Deposited On:26 Jun 2012 08:55
Last Modified:26 Jun 2012 08:55

Repository Staff Only: item control page