Specification based test sequence generation with propositional logic

In the domain of concurrent reactive systems, much work has been devoted to (semi‐)automatically validating a system's correctness. In this paper a novel approach to the automated generation of test sequences is presented. It may be used for both glass box testing a specification and black box testing an implementation (software/hardware). Finite system models specified within the CASE tool AutoFocus as well as user‐friendly test case specifications are automatically translated into propositional logic and fed into the propositional solver SATO. Results are interpreted as input/output traces (test sequences) of the system, and may be displayed as message sequence charts. A small example illustrates the basic ideas as well as the method's advantages and shortcomings. The testing process is integrated into an overall development process. Main contributions include the implementation of a tool for graphical specification of test cases and the description of an efficient method to compute test sequences fully automatically as well as its integration into the same CASE tool. Copyright © 2000 John Wiley & Sons, Ltd.

[1]  Bernhard Schätz,et al.  Tool Supported Specification and Simulation of Distributed Systems , 1998, PDSE.

[2]  Shaoying Liu,et al.  Generating test data from SOFL specifications , 1999, J. Syst. Softw..

[3]  Paul Ammann,et al.  Abstracting formal specifications to generate software tests via model checking , 1999, Gateway to the New Millennium. 18th Digital Avionics Systems Conference. Proceedings (Cat. No.99CH37033).

[4]  Shaoying Liu,et al.  Criteria for generating specification-based tests , 1999, Proceedings Fifth IEEE International Conference on Engineering of Complex Computer Systems (ICECCS'99) (Cat. No.PR00434).

[5]  Hasan Ural,et al.  Formal methods for test sequence generation , 1992, Comput. Commun..

[6]  Jan Philipps,et al.  The quest for correct systems: model checking of diagrams and datatypes , 1999, Proceedings Sixth Asia Pacific Software Engineering Conference (ASPEC'99) (Cat. No.PR00509).

[7]  Hantao Zhang,et al.  SATO: An Efficient Propositional Prover , 1997, CADE.

[8]  Ingolf Krüger,et al.  Hybrid Sequence Charts , 2000, Proceedings Third IEEE International Symposium on Object-Oriented Real-Time Distributed Computing (ISORC 2000) (Cat. No. PR00607).

[9]  M. R. Woodward,et al.  Assessing the quality of specification-based testing , 1996 .

[10]  O. Slotosch,et al.  Overview over the project , 1999, FM 1999.

[11]  Armin Biere,et al.  Symbolic Model Checking without BDDs , 1999, TACAS.

[12]  Marie-Claude Gaudel,et al.  Testing Can Be Formal, Too , 1995, TAPSOFT.

[13]  Wang Yi,et al.  Uppaal in a nutshell , 1997, International Journal on Software Tools for Technology Transfer.

[14]  Bernhard Schätz,et al.  Traffic lights-an AutoFocus case study , 1998, Proceedings 1998 International Conference on Application of Concurrency to System Design.

[15]  Pretschner,et al.  AutoFocus on Constraint Logic Programming , 2000 .

[16]  Thomas C. Bartee Computer architecture and logic design , 1991, McGraw-Hill international editions: computer science series.

[17]  Matthias Grochtmann,et al.  Classification trees for partition testing , 1993, Softw. Test. Verification Reliab..

[18]  Pretschner,et al.  Testing Concurrent Reactive Systems with Constraint Logic Programming , 2000 .

[19]  Pierre Wolper,et al.  An Automata-Theoretic Approach to Automatic Program Verification (Preliminary Report) , 1986, LICS.