Off-Line Test Selection with Test Purposes for Non-deterministic Timed Automata

  • Nathalie Bertrand
  • Thierry Jéron
  • Amélie Stainer
  • Moez Krichen
Part of the Lecture Notes in Computer Science book series (LNCS, volume 6605)

Abstract

This paper proposes novel off-line test generation techniques for non-deterministic timed automata with inputs and outputs (TAIOs) in the formal framework of the tioco, conformance theory. In this context, a first problem is the determinization of TAIOs, which is necessary to foresee next enabled actions, but is in general impossible. This problem is solved here thanks to an approximate determinization using a game approach, which preserves tioco, and guarantees the soundness of generated test cases. A second problem is test selection for which a precise description of timed behaviors to be tested is carried out by expressive test purposes modeled by a generalization of TAIOs. Finally, using a symbolic co-reachability analysis guided by the test purpose, test cases are generated in the form of TAIOs equipped with verdicts.

Keywords

Conformance testing timed automata partial observability urgency approximate determinization game test purpose 

References

  1. 1.
    Alur, R., Dill, D.L.: A theory of timed automata. Theoretical Computer Science 126(2), 183–235 (1994)CrossRefMATHGoogle Scholar
  2. 2.
    Alur, R., Henzinger, T.A., Kupferman, O., Vardi, M.Y.: Alternating refinement relations. In: Sangiorgi, D., de Simone, R. (eds.) CONCUR 1998. LNCS, vol. 1466, pp. 163–178. Springer, Heidelberg (1998)CrossRefGoogle Scholar
  3. 3.
    Bérard, B., Gastin, P., Petit, A.: On the power of non-observable actions in timed automata. In: Puech, C., Reischuk, R. (eds.) STACS 1996. LNCS, vol. 1046, pp. 255–268. Springer, Heidelberg (1996)CrossRefGoogle Scholar
  4. 4.
    Bertrand, N., Jéron, T., Stainer, A., Krichen, M.: Off-line test selection with test purposes for non-deterministic timed automata. Technical Report 7501, INRIA (January 2011), http://hal.inria.fr/inria-00550923
  5. 5.
    Bertrand, N., Stainer, A., Jéron, T., Krichen, M.: A game approach to determinize timed automata. In: FOSSACS 2011 (to appear, 2011); Extended version as INRIA report 7381, http://hal.inria.fr/inria-00524830
  6. 6.
    Briones, L.B., Brinksma, E.: A test generation framework for quiescent real-time systems. In: Grabowski, J., Nielsen, B. (eds.) FATES 2004. LNCS, vol. 3395, pp. 64–78. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  7. 7.
    David, A., Larsen, K.G., Legay, A., Nyman, U., Wasowski, A.: Timed I/O automata: a complete specification theory for real-time systems. In: HSCC 2010, pp. 91–100. ACM Press, New York (2010)Google Scholar
  8. 8.
    David, A., Larsen, K.G., Li, S., Nielsen, B.: Timed testing under partial observability. In: ICST 2009, pp. 61–70. IEEE Computer Society, Los Alamitos (2009)Google Scholar
  9. 9.
    En-Nouaary, A., Dssouli, R.: A guided method for testing timed input output automata. In: Hogrefe, D., Wiles, A. (eds.) TestCom 2003. LNCS, vol. 2644, pp. 211–225. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  10. 10.
    Finkel, O.: Undecidable problems about timed automata. In: Asarin, E., Bouyer, P. (eds.) FORMATS 2006. LNCS, vol. 4202, pp. 187–199. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  11. 11.
    Jard, C., Jéron, T.: TGV: theory, principles and algorithms. Software Tools for Technology Transfer 7(4), 297–315 (2005)CrossRefGoogle Scholar
  12. 12.
    Khoumsi, A., Jéron, T., Marchand, H.: Test cases generation for nondeterministic real-time systems. In: Petrenko, A., Ulrich, A. (eds.) FATES 2003. LNCS, vol. 2931, pp. 131–145. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  13. 13.
    Koné, O., Castanet, R., Laurencot, P.: On the fly test generation for real time protocols. In: ICCCN 1998, pp. 378–387. IEEE, Los Alamitos (1998)Google Scholar
  14. 14.
    Krichen, M., Tripakis, S.: Conformance testing for real-time systems. Formal Methods in System Design 34(3), 238–304 (2009)CrossRefMATHGoogle Scholar
  15. 15.
    Nielsen, B., Skou, A.: Automated test generation from timed automata. Software Tools for Technology Transfer 5(1), 59–77 (2003)CrossRefMATHGoogle Scholar
  16. 16.
    Schmaltz, J., Tretmans, J.: On conformance testing for timed systems. In: Cassez, F., Jard, C. (eds.) FORMATS 2008. LNCS, vol. 5215, pp. 250–264. Springer, Heidelberg (2008)CrossRefGoogle Scholar
  17. 17.
    Tretmans, J.: Test generation with inputs, outputs and repetitive quiescence. Software - Concepts and Tools 3, 103–120 (1996)MATHGoogle Scholar
  18. 18.
    Tripakis, S.: Folk theorems on the determinization and minimization of timed automata. Information Processing Letters 99(6), 222–226 (2006)CrossRefMATHGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2011

Authors and Affiliations

  • Nathalie Bertrand
    • 1
  • Thierry Jéron
    • 1
  • Amélie Stainer
    • 1
  • Moez Krichen
    • 2
  1. 1.INRIA RennesRennesFrance
  2. 2.Institute of Computer Science and MultimediaSfaxTunisia

Personalised recommendations