Using algebraic specifications in software testing: A case study on the software of an automatic subway

Abstract This article reports an experiment using a formal specification of a piece of critical software as a basis to derive test data sets. The software was the onboard part of the driving system of an automatic subway. It was formally specified using algebraic techniques. Then, two modules of the specification were used as input to the LOFT test selection tool, which is based on narrowing and some other aspects of advanced logic programming. The experience established that the approach is practicable for industrial examples.

[1]  David H. Pitt,et al.  The Derivation of Conformance Tests from LOTOS Specifications , 1990, IEEE Trans. Software Eng..

[2]  Sandro Morasca,et al.  FUNCTIONAL TEST CASE GENERATION FOR REAL-TIME SYSTEMS , 1993 .

[3]  Michel Bidoit Pluss, un langage pour le développement de spécifications algébriques modulaires , 1989 .

[4]  B. Marre Une methode et un outil d'assistance a la selection de jeux de tests a partir de specifications algebriques , 1991 .

[5]  Richard G. Hamlet,et al.  Data Abstraction, Implementation, Specification, and Testing , 1981, TOPL.

[6]  Martin Wirsing,et al.  Algebraic Specification , 1991, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[7]  Laurent Fribourg,et al.  SLOG: A Logic Programming Language Interpreter Based on Clausal Superposition and Rewriting , 1985, SLP.

[8]  Marie-Claude Gaudel,et al.  A Formal Approach to Software Testing , 1991, AMAST.

[9]  John Darlington,et al.  A Transformation System for Developing Recursive Programs , 1977, J. ACM.

[10]  Hélène Waeselynck,et al.  An Experimental Evaluation of Formal Testing and Statistical Testing , 1992 .

[11]  Heinrich Hußmann,et al.  Unification in Conditional Equational Theories , 1985, European Conference on Computer Algebra.

[12]  Laurent Fribourg,et al.  Test sets generation from algebraic specifications using logic programming , 1986, J. Syst. Softw..

[13]  Elaine J. Weyuker,et al.  On Testing Non-Testable Programs , 1982, Comput. J..

[14]  Ferhat Khendek,et al.  Test Selection Based on Finite State Models , 1991, IEEE Trans. Software Eng..

[15]  Marie-Claude Gaudel,et al.  Structuring and Modularizing Algebraic Specifications: The PLUSS Specification Language, Evolutions and Perspectives , 1992, STACS.

[16]  Marie-Claude Gaudel,et al.  Software testing based on formal specifications: a theory and a tool , 1991, Softw. Eng. J..

[17]  P. Ozello,et al.  Experiments with Formal Specifications on MAGGALY , 1991 .

[18]  Pankaj Jalote Specification and Testing of Abstract Data Types , 1992, Comput. Lang..