Abstract
Given a finite state machine denoting the specification of a system, finding some short interaction sequences capable to reach some/all states or transitions of this machine is a typical goal in testing methods. We study the problem of finding such sequences in the case where configurations previously traversed can be saved and restored (at some cost). Finding optimal sequences for 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. Some experimental results are reported.
Research partially supported by projects TIN2006-15578-C02-01, PAC06-0008-6995, and CCG08-UCM/TIC-4124.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Aho, A., Dahbura, A., Lee, D., Uyar, M.Ü.: An optimization technique for protocol conformance test generation based on UIO sequences and Rural Chinese Postman tours. In: Protocol Specification, Testing and Verification VIII, pp. 75–86. North-Holland, Amsterdam (1988)
Alba, E., Chicano, F.: Finding safety errors with ACO. In: GECCO 2007: Proceedings of the 9th annual conference on Genetic and evolutionary computation, pp. 1066–1073. ACM Press, New York (2007)
Brinksma, E., Tretmans, J.: Testing transition systems: An annotated bibliography. In: Cassez, F., Jard, C., Rozoy, B., Dermot, M. (eds.) MOVEP 2000. LNCS, vol. 2067, pp. 187–195. Springer, Heidelberg (2001)
Dahbura, A., Uyar, M.: Optimal test sequence generation for protocols: The chinese postman algorithm applied to Q.931. In: Conformance testing methodologies and architectures for OSI protocols, pp. 347–351. IEEE Computer Society Press, Los Alamitos (1995)
Dorigo, M.: Ant Colony Optimization. MIT Press, Cambridge (2004)
Dorigo, M., Gambardella, L.M.: Ant colonies for the traveling salesman problem. BioSystems 43(2), 73–81 (1997)
Eiben, A.E., Smith, J.E.: Introduction to Evolutionary Computing. Springer, Heidelberg (2003)
Huang, G.-D., Wang, F.: Automatic test case generation with region-related coverage annotations for real-time systems. In: Peled, D.A., Tsay, Y.-K. (eds.) ATVA 2005. LNCS, vol. 3707, pp. 144–158. Springer, Heidelberg (2005)
De Jong, K.A.: Evolutionary computation: a unified approach. MIT Press, Cambridge (2006)
Lee, D., Yannakakis, M.: Principles and methods of testing finite state machines: A survey. Proceedings of the IEEE 84(8), 1090–1123 (1996)
Miller, R.E., Arisha, K.A.: Fault coverage in networks by passive testing. In: International Conference on Internet Computing 2001, IC 2001, pp. 413–419. CSREA Press (2001)
Petrenko, A.: Fault model-driven test derivation from finite state models: Annotated bibliography. In: Cassez, F., Jard, C., Rozoy, B., Dermot, M. (eds.) MOVEP 2000. LNCS, vol. 2067, pp. 196–205. Springer, Heidelberg (2001)
Rabanal, P., Rodríguez, I., Rubio, F.: Using river formation dynamics to design heuristic algorithms. In: Akl, S.G., Calude, C.S., Dinneen, M.J., Rozenberg, G., Wareham, H.T. (eds.) UC 2007. LNCS, vol. 4618, pp. 163–177. Springer, Heidelberg (2007)
Rabanal, P., Rodríguez, I., Rubio, F.: Finding minimum spanning/distances trees by using river formation dynamics. In: Dorigo, M., Birattari, M., Blum, C., Clerc, M., Stützle, T., Winfield, A.F.T. (eds.) ANTS 2008. LNCS, vol. 5217. Springer, Heidelberg (2008)
Rabanal, P., Rodríguez, I., Rubio, F.: Applying river formation dynamics to solve NP-complete problems. In: Choing, R. (ed.) Nature-Inspired Algorithms for Optimisation. Studies in Computational Intelligence, vol. 193. Springer, Heidelberg (2009)
Rabanal, P., Rodríguez, I., Rubio, F.: Testing restorable systems by using RFD: Extended version (2009), http://kimba.mat.ucm.es/prabanal/
Rodríguez, I., Merayo, M.G., Núñez, M.: \(\mathcal{HOTL}\): Hypotheses and observations testing logic. Journal of Logic and Algebraic Programming 74(2), 57–93 (2008)
Shen, Y., Lombardi, F.: Graph algorithms for conformance testing using the rural chinese postman tour. SIAM Journal on Discrete Mathematics 9, 511–528 (1996)
Zhu, H., Hall, P.A.V., May, J.H.R.: Software unit test coverage and adequacy. ACM Computing Surverys 29(4), 366–427 (1997)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Rabanal, P., Rodríguez, I. (2009). Testing Restorable Systems by Using RFD. In: Cabestany, J., Sandoval, F., Prieto, A., Corchado, J.M. (eds) Bio-Inspired Systems: Computational and Ambient Intelligence. IWANN 2009. Lecture Notes in Computer Science, vol 5517. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-02478-8_44
Download citation
DOI: https://doi.org/10.1007/978-3-642-02478-8_44
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-02477-1
Online ISBN: 978-3-642-02478-8
eBook Packages: Computer ScienceComputer Science (R0)