Test selection based on communicating nondeterministic finite-state machines using a generalized Wp-method 论文

1994IEEE Transactions on Software Engineering引用 266
Software Testing and Debugging TechniquesSoftware Reliability and Analysis ResearchFormal Methods in Verification

详细信息

发表期刊/会议
IEEE Transactions on Software Engineering
发表日期
1994-01-01
发表年份
1994

关键词

Software Testing and Debugging TechniquesSoftware Reliability and Analysis ResearchFormal Methods in Verification

摘要

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.< <ETX xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">&gt;</ETX>