Title :
Test selection based on communicating nondeterministic finite-state machines using a generalized Wp-method
Author :
Luo, Gang ; Bochmann, Gregor V. ; Petrenko, Alexandre
Author_Institution :
Dept. d´´Inf. et de Recherche Oper., Montreal Univ., Que., Canada
fDate :
2/1/1994 12:00:00 AM
Abstract :
Presents a method of generating test sequences for concurrent programs and communication protocols that are modeled as communicating nondeterministic finite-state machines (CNFSMs). A conformance relation, called trace-equivalence, is defined within this model, serving as a guide to test generation. A test generation method for a single nondeterministic finite-state machine (NFSM) is developed, which is an improved and generalized version of the Wp-method that generates test sequences only for deterministic finite-state machines. It is applicable to both nondeterministic and deterministic finite-state machines. When applied to deterministic finite-state machines, it yields usually smaller test suites with full fault coverage than the existing methods that also provide full fault coverage, provided that the number of states in implementation NFSMs are bounded by a known integer. For a system of CNFSMs, the test sequences are generated in the following manner: a system of CNFSMs is first reduced into a single NFSM by reachability analysis; then the test sequences are generated from the resulting NFSM using the generalized Wp-method
Keywords :
conformance testing; finite state machines; multiprocessing programs; program testing; programming theory; protocols; software engineering; specification languages; SDL; communicating nondeterministic finite-state machines; communication protocols; concurrent programs; conformance relation; deterministic finite-state machines; fault coverage; generalized Wp-method; protocol conformance testing; protocol engineering; reachability analysis; software engineering; software testing; test selection; test sequence generation; test suites; trace-equivalence; Communication system software; Computer science; Concurrent computing; Helium; Protocols; Reachability analysis; Senior members; Software engineering; Software testing; System testing;
Journal_Title :
Software Engineering, IEEE Transactions on