Abstract
We present a method of generating test cases from the software specifications which are modeled by nondeterministic finite state machines. It is applicable to both non-deterministic and deterministic finite state machines. When applied to deterministic machines, this method yields usually smaller test suites with full fault coverage than the existing methods that also assure full fault coverage. In particular, the proposed method can be used to test the control portion of software specified in the formal specification languages SDL or ESTELLE.
Similar content being viewed by others
References
Rayner D. OSI conformance testing.Computer Networks & ISDN Systems, 1987, 14: 79–89.
von Bochmann G. Trace analysis for conformance and arbitration testing.IEEE Trans. on Software Engineering, 1989, SE-15(11).
Fujiwara S, von Bochmann G, Khendek Fet al. Test selection based on finite state models.IEEE Trans. on Software Engineering, 1991, SE-17(6): 591–603.
Pitt D H, Freestone D. The derivation of conformance tests from Lotos specifications.IEEE Trans. on Software Engineering, 1990, SE-16(12): 1337–1343.
Sidhu D P, Leung T K. Formal methods for protocol testing: a detailed study.IEEE Trans. on Software Engineering, 1989, SE-15(4): 413–426.
Sarikaya B, von Bochmann G, Cerny E. A test design methodology for protocol testing.IEEE Trans. on Software Engineering, 1987, 13(9): 989–999.
Chow T S. Testing software design modeled by finite-state machines.IEEE Trans. on Software Engineering, 1978, SE-4(3): 178–187.
Aho A V, Bosik B S, Griesmer S J. Protocol testing and verification within AT&T.AT&T Technical Journal, 1990, 69(1): 4–6.
Special Issue on Protocol Testing and Verification.AT&T Technical Journal, 1990, 69(1).
Petrenko A. Checking experiments with protocol machines. In: Kroon J, Heijink R J, Brinksma E eds. IFIP Transactions, Protocol Testing Systems IV (Proceedings of IFIP TC6 Fourth International Workshop on Protocol Test Systems, 1991), North-Holland, 1992, pp. 83–94.
Gonenc G. A method for design fault detection experiments.IEEE Trans. on Computers, 1970, C-19: 551–558.
Vuong S T, Chan W W L, Ito M R. The UIOv-method for protocol test sequence generation. In: de Meer J, Machert L, Effelsberg W eds. Proc. of IFIP TC6 Second International Workshop on Protocol Testing Systems, North-Holland, 1989, pp. 161–175.
Sabnani K, Dahbura A T. A new technique for generating protocol tests.ACM Computer Communication Review, 1985, 15(4): 36–43.
Vasilevskii M P. Failure diagnosis of automata. Cybernetics, Plenum Publishing Corporation, New York, No. 4, 1973, pp. 653–665.
Bolognesi T, Brinksma E. Introduction to the ISO specification language Lotos.Computer Networks and ISDN Systems, 1987, 14(1): 25–59.
Budkowski S, Dembinski P. An introduction to Estelle: A specification language for distributed systems.Computer Networks and ISDN Systems, 1987, 14(1): 3–23.
Belina F, Hogrefe D. The CCITT-specification and description language SDL.Computer Networks and ISDN Systems, 1989, 16: 311–341.
SDL Newsletter. December 1991.
Witteman M F, van Wuijtswinkel R C, Berkhout S R. Nondeterministic and default behaviour. In: van Bochmann G, Dssouli R, Das A eds. Participants' Proceedings of 5th International Workshop on Protocol Testing Systems, Montreal, Canada, 1992, pp. 241–252.
Brinksma E. A theory for the derivation of tests. In: Aggarwal S, Sabnani K eds. IFIP Protocol Specification, Testing, and Verification VIII, Elsevier Science Publishers B.V., North-Holland, 1988, pp. 63–74.
Fujiwara S, von Bochmann G. Testing nondeterministic finite state machine with fault coverage. In: Droon J, Heijink R J, Brinksma E eds. IFIP Transactions, Protocol Testing Systems IV (Proceedings of IFIP TC6 Fourth International Workshop on Protocol Test Systems, 1991), North-Holland, 1992, pp. 267–280.
Fujiwara S, von Bochmann Gregor. Testing nondeterministic finite state machine. Publication #758 of D.I.R.O., University of Montreal, January 1991.
Luo Gang, Chen Junliang. Generating test sequences for communication protocol modeled by CNFSM. In: Chen Liweiet al. eds. Information Technology: Advancement, Productivity and International Cooperation (Proc. of the 3rd Pan Pacific Computer Conference), Vol. I, International Academic Publishers, 1989, pp. 688–694.
Tripathy P, Naik K. Generation of adaptive test cases from nondeterministic finite state models. In: von Bochmann G, Dssouli R, Das A eds. Participants' Proceedings of 5th International Workshop on Protocol Testing Systems, Montreal, canada, 1992, pp. 266–279.
Kloosterman H. Test derivation from nondeterministic finite state machines. In: von Bochmann G, Dssouli R, Das A eds. Proceedings of 5th International Workshop on Protocol Testing Systems, Montreal, canada, 1992, pp. 254–265.
Starke P H. Abstract automata. Elesevier, North-Holland/American, 1972, p. 419.
Luo Gang, von Bochmann G, Das A, Wu Cheng. Failure-equivalent transformation of transition system to avoid internal actions. Publication #789 of D.I.R.O., University of Montreal, Sept. 1991, accepted byInformation Processing Letters.
Kohavi Z. Switching and finite automata theory. McGraw-Hill Computer Science Series, New York, 1970.
Hopcroft J E, Ullamn J D. Introduction to automata theory, languages, and computation. Addison-Wesley Publishing Company, Inc., 1979, p. 418.
Luo Gang, DAS A, von Bochmann Gregor. Test selection based on SDL specification with save. In: SDL'91: Evolving Methods (Proceedings of 5th SDL Forum), North-Holland, 1991, 313–324.
von Bochmann G, Das A, Dssouli Ret al. Fault model in testing. In: Kroon J, Heijink R J, Brinksma E eds. IFIP Transactions, Protocol Testing Systems IV (Proc. of IFIP TC6 Fourth Int'l Workshop on Protocol Test Systems, 1991), 1992, North-Holland, pp. 17–30.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Luo, G. Generating conformance tests for nondeterministic protocol machines. J. of Comput. Sci. & Technol. 9, 289–301 (1994). https://doi.org/10.1007/BF02943576
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF02943576