Preview

Proceedings of the Institute for System Programming of the RAS (Proceedings of ISP RAS)

Advanced search

Deriving adaptive distinguishing sequences for Finite State Machines

https://doi.org/10.15514/ISPRAS-2018-30(4)-9

Abstract

FSM (Finite State Machines) are widely used for deriving tests with guaranteed fault coverage for control systems. Distinguishing sequences (DS) are used in FSM based testing for state identification and can significantly reduce the size of a returned complete test suite. In some cases, length of distinguishing sequence can be exponential with respect to the size of the FSM specification. Moreover, DS can be even longer for non-deterministic FSMs, which are used for the specification optionality description when deriving tests for real systems. Unfortunately, DS not always exist for deterministic and non-deterministic FSMs. Adaptive DS (or corresponding distinguishing test cases (DTC)) are known to exist more often and be much shorter than the preset ones that makes adaptive DS attractive for test derivation. In this paper, we investigate the properties of adaptive DS and propose an approach for optimizing the procedure for the adaptive DS derivation. For this purpose, we propose to limit the height of a DTC and correspondingly to reduce the size of a distinguishing FSM that is used for the DTC derivation in the original procedure. The efficiency of a proposed optimized procedure is evaluated by computer experiments for randomly generated FSMs up to 100 states. We also present the experimental results on checking the percentage of randomly generated FSMs when a DTC exists.

About the Authors

A. S. Tvardovskii
National Research Tomsk State University
Russian Federation


N. V. Yevtushenko
National Research Tomsk State University; Ivannikov Institute for System Programming of the Russian Academy of Sciences; National Research University Higher School of Economics
Russian Federation


References

1. Gill A. Introduction to the Theory of Finite-State Machines. McGraw-Hill, 1964, 207 p.

2. Chow, T.S. Test design modeled by finite-state machines. IEEE Transactions on Software Engineering, vol. 4, No 3, 1978, pp. 178-187

3. Petrenko A. and Yevtushenko N. Conformance Tests as Checking Experiments for Partial Nondeterministic FSM. In Proceedings of the 5th International Workshop on Formal Approaches to Testing of Software (FATES 2005), LNCS 3997, 2005, pp. 118-133

4. Dorofeeva R., El-Fakih K., Maag S., Cavalli A.R., Yevtushenko N. FSM-based conformance testing methods: a survey annotated with experimental evaluation. Information and Software Technology, 52, 2010, pp. 1286-1297

5. Alur R., Courcoubetis C., Yannakakis M. Distinguishing tests for nondeterministic and probabilistic machines, In Proc. of the 27th ACM Symposium on Theory of Computing, 1995, pp. 363-372.

6. Petrenko A., Yevtushenko N. Adaptive testing of deterministic implementations specified by nondeterministic FSMs, In Proc. of the International Conference on Testing Software and Systems, LNCS, vol. 7019, 2011, pp. 162-178

7. Yevtushenko N., Kushik N. Decreasing the length of adaptive distinguishing experiments for nondeterministic merging-free finite state machines. In Proceedings of IEEE East-West Design & Test Symposium (EWDTS). 2015. P. 338–341

8. Yevtushenko N., El-Fakih K., and Ermakov, A. On-the-fly construction of adaptive checking sequences for testing deterministic implementations of nondeterministic specifications, LNCS, vol. 9976, 2016, pp. 139–152

9. El-Fakih K., Yevtushenko N., Kushik N. Adaptive distinguishing test cases of nondeterministic finite state machines: test case derivation and length estimation. Formal Aspects of Computing vol. 30, issue 2, 2018, pp. 319-332

10. Tvardovskii A. Refining the Specification FSM When Deriving Test Suites w.r.t. the Reduction Relation. LNCS, vol 10533, 2017, pp. 333-339

11. Shabaldina N. Gromov M. FSMTest-1.0: a manual for researches. In Proceedings of the 13th International symposium on IEEE EAST-WEST DESIGN & TEST SYMPOSIUM (EWDTS’15), 2015, pp. 216–219


Review

For citations:


Tvardovskii A.S., Yevtushenko N.V. Deriving adaptive distinguishing sequences for Finite State Machines. Proceedings of the Institute for System Programming of the RAS (Proceedings of ISP RAS). 2018;30(4):139-154. (In Russ.) https://doi.org/10.15514/ISPRAS-2018-30(4)-9



Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 2079-8156 (Print)
ISSN 2220-6426 (Online)