Advertisement

Automatic Control and Computer Sciences

, Volume 51, Issue 7, pp 724–730 | Cite as

Testing Timed Nondeterministic Finite State Machines with the Guaranteed Fault Coverage

  • Aleksandr Tvardovskii
  • Khaled El-Fakih
  • Maxim Gromov
  • Nina Yevtushenko
Article
  • 12 Downloads

Abstract

The behavior of many systems can be properly described by taking into account time constraints, and this motivates the adaptation of existing Finite State Machine (FSM)-based test derivation methods to timed models. In this paper, we propose a method for deriving conformance tests with the guaranteed fault coverage for a complete possibly nondeterministic FSM with a single clock; such Timed FSMs (TFSMs) are widely used when describing the behavior of software and digital devices. The fault domain contains every complete TFSM with the known upper bounds on the number of states and finite boundary of input time guards. The proposed method is carried out by using an appropriate FSM abstraction of the given TFSM; the test is derived against an FSM abstraction and contains timed input sequences. Shorter test suites can be derived for a restricted fault domain, for instance, for the case when the smallest duration of an input time guard is larger than two. Moreover, the obtained test suites can be reduced while preserving the completeness, when all input time guards of the specification and an implementation under test are right closed (or all guards are left-closed). Experiments are conducted to study the length of test suites constructed by different methods.

Keywords

Timed Finite State Machine non-deterministic Timed Finite State Machine test derivation fault domain 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Chow, T.S., Test design modeled by finite-state machines, IEEE Trans. Software Eng., 1978, vol. 4, no. 3, pp. 178–187.MathSciNetCrossRefMATHGoogle Scholar
  2. 2.
    Dorofeeva, R., El-Fakih, K., Maag, S., Cavalli, A., and Yevtushenko, N., FSM-based conformance testing methods: A survey annotated with experimental evaluation, Inf. Software Technol., 2010, vol. 52, pp. 1286–1297.CrossRefGoogle Scholar
  3. 3.
    Petrenko, A. and Yevtushenko, N., Conformance tests as checking experiments for partial nondeterministic FSM, Lect. Notes Comput. Sci., 2005, vol. 3997, pp. 118–133.CrossRefMATHGoogle Scholar
  4. 4.
    Springintveld, J., Vaandrager, F., and D’Argenio, P., Testing timed automata, Theor. Comput. Sci., 2001, vol. 254, nos. 1–2, pp. 225–257.MathSciNetCrossRefMATHGoogle Scholar
  5. 5.
    El-Fakih, K., Yevtushenko, N., and Fouchal, H., Testing timed finite state machines with guaranteed fault coverage, Proceedings of the 21st IFIP WG 6.1 International Conference on Testing of Software and Communication Systems and 9th International FATES Workshop, 2009, pp. 66–80Google Scholar
  6. 6.
    Krichen, M. and Tripakis, S., Conformance testing for real-time systems, Formal Methods Syst. Des., 2009, vol. 34, no. 3, pp. 238–304.CrossRefMATHGoogle Scholar
  7. 7.
    Merayo, M.G., Nunez, M., and Rodriguez, I., Formal testing from timed finite state machines, Comput. Networks: Int. J. Comput. Telecommun. Networking, 2008, vol. 52, no. 2, p. 432–460.CrossRefMATHGoogle Scholar
  8. 8.
    Bresolin, D., El-Fakih, K., Villa, T., and Yevtushenko, N., Deterministic timed finite state machines: Equivalence checking and expressive power, Int. Conf. GANDALF, 2014, pp. 203–216Google Scholar
  9. 9.
    Petrenko, A., Yevtushenko, N., and Bochmann, G.V., Fault models for testing in context, FORTE, 1996, pp. 163–178Google Scholar
  10. 10.
    Yevtushenko, N., El-Fakih, K., and Ermakov, A., On-the-fly construction of adaptive checking sequences for testing deterministic implementations of nondeterministic specifications, Lect. Notes Comput. Sci., 2016, vol. 9976, pp. 139–152.CrossRefGoogle Scholar
  11. 11.
    Petrenko, A. and Yevtushenko, N., Adaptive testing of deterministic implementations specified by nondeterministic FSMs, Proc. ICTSS, 2011, pp. 162–178Google Scholar
  12. 12.
    Tvardovskii, A. and Yevtushenko, N., Synthesis complete test suite for nondeterministic finite state machines with time guards, Russ. Phys. J., 2015, vol. 58, no. 11/2, pp. 107–110.Google Scholar

Copyright information

© Allerton Press, Inc. 2017

Authors and Affiliations

  • Aleksandr Tvardovskii
    • 1
  • Khaled El-Fakih
    • 2
  • Maxim Gromov
    • 1
  • Nina Yevtushenko
    • 1
  1. 1.Tomsk State UniversityTomskRussia
  2. 2.Department of Computer Science and EngineeringAmerican University of SharjahSharjahUAE

Personalised recommendations