Abstract
Model-checking and testing are different activities, at least conceptually. While model-checking consists in comparing two specifications at different abstraction levels, testing consists in trying to find errors or gain some confidence in the correctness of an implementation with respect to a specification by the execution of test cases. Nevertheless, there are also similarities in models and algorithms. We argue for this by giving a new on-the-fly test generation algorithm which is an adaptation of a classical graph algorithm which also serves as a basis of some model-checking algorithms. This algorithm is the Tarjan’s algorithm which computes the strongly connected components of a digraph.
Chapter PDF
Similar content being viewed by others
References
ISO/IEC International Standard 9646-1/2/3. OSI-Open Systems Interconnection, Information Technology-Open Systems Interconnection Conformance Testing Methodology and Framework, 1992. 108
S. Abramsky. Observational equivalence as a testing equivalence. Theoretical Computer Science, 53(3), 1987. 108
B. Algayres, Y. Lejeune, F. Hugonnet, and F. Hantz. The AVALON project: A VALidatiON Environment For SDL/MSC Descriptions. In 6th SDL Forum, Darmstadt, 1993. 118, 120
M. Bozga, J.-C. Fernandez, L. Ghirvu, C. Jard, T. Jéron, A. Kerbrat, P. Morel, and L. Mounier. Verification and test generation for the SSCOP protocol. Journal of Science of Computer Programming, Special Issue on The Application of Formal Methods in Industrial Critical Systems, To appear, 1999. 117, 118
E. Brinskma. A theory for the derivation of tests. In Protocol Specification, Testing and Verification VIII, pages 63–74. North-Holland, 1988. 108
E.M. Clarke, E.A. Emerson, and A.P. Sistla. Automatic verification of finite state concurrent systems using temporal logic specification. ACM Transactions on Programming Languages and Systems, 2(8):244–263, 1986. 109
C. Courcoubetis, M. Vardi, P. Wolper, and M. Yannakakis. Memory efficient algorithms for the verification of temporal properties. In Workshop on Computer Aided Verification. LNCS 531, June 1990. 109
R. De Nicola and M. Henessy. Testing equivalences for processes. Theoretical Computer Science, 34:83–133, 1984. 108
R.G. De Vries and J. Tretmans. On-the-Fly Conformance Testing using Spin. In G. Holzmann, E. Najm, and A. Serhrouchni, editors, Fourth Workshop on Automata Theoretic Verification with the Spin Model Checker, ENST 98 S 002, pages 115–128, Paris, France, November 2 1998. 119
A. Engels, L. Feijs, and S. Mauw. Test generation for intelligent networks using model checking. In Third Workshop TACAS, Enschede, The Netherlands, LNCS 1217. Springer-Verlag, 1997. 109
J.-C. Fernandez, H. Garavel, A. Kerbrat, R. Mateescu, L. Mounier, and M. Sighireanu. CADP: A Protocol Validation and Verification Toolbox. In Rajeev Alur and Thomas A. Henzinger, editors, Proc. of CAV’96 (New Brunswick, New Jersey, USA). LNCS 1102, August 1996. 118
J.-C. Fernandez, C. Jard, T. Jéron, and C. Viho. Using On-the-fly Verification Techniques for the Generation of Test Suites. In R. Alur and T.A. Henzinger, editors, Proc. of CAV’96, (New Brunswick, New Jersey, USA). LNCS 1102, August 1996. 109, 117, 118
J.-C. Fernandez, C. Jard, T. Jéron, and C. Viho. An Experiment in Automatic Generation of Test Suites for Protocoles with Verification Technology. Science of Computer Programming, 29, 1997. 109, 117, 118
J. Grabowski, D. Hogrefe, and R. Nahm. Test case generation with test purpose specification by MSCs. In O. Færgemand and A. Sarma, editors, 6th SDL Forum, pages 253–266, Darmstadt (Germany), 1993. Elsevier Science B.V. (North-Holland). 119
J.E. Hopcroft and J.D. Ullman. Introduction to automata theory, languages, and computation. Addison-Wesley series in computer science, 1979. 118
ITU-T SG 10/Q.8 ISO/IEC JTC1/SC21 WG7. Information retrieval, transfer and management for OSI; framework: Formal Methods in Conformance Testing. CD 13245-1, ITU-T proposed recommendation Z500. ISO/ITU-T, 1996. 108
T. Jéron and P. Morel. DeAbstraction, τ-réduction et déterminisation à la volée: application à la génération de test. In G. Leduc, editor, CFIP’97: Ingénierie des Protocoles. Hermes, September 1997. 109, 110, 117, 118
H. Kahlouche, C. Viho, and M. Zendri. An industrial experiment in automatic generation of executable test suites for a cache coherency protocol. In A. Petrenko and N. Yevtushenko, editors, IFIP TC6 11th International Workshop on Testing of Communicating Systems. Chapman & Hall, September 1998. 118
A. Kerbrat, T. Jéron, and R. Groz. Automated Test Generation from SDL Specifications. In Proc. 9th SDL FORUM (Montral, Quebec, Canada), June 1999. 120
D. Lee and M. Yannakakis. Principles and methods of testing finite state machines-a survey. Proc. of the IEEE, 84(8):1090–1123, August 1996. 108, 118
M. Phalippou. Relations d’implantations et Hypothèses de test sur les automates à entres et sorties. PhD thesis, Université de Bordeaux, 1994. 108
M. Phalippou. Test sequence generation using Estelle or SDL structure information. In FORTE’94, Berne, October 1994. 120
A. Pnueli. The temporal logic of programs. In Proc. of the 18th Symposium on the Foundations of Computer Science. ACM, November 1977. 109
R. Tarjan. Depth-first search and linear graph algorithms. SIAM Journal Computing, 1(2):146–160, June 1972. 112, 112
J. Tretmans. Test generation with inputs, outputs and repetitive quiescence. Software-Concepts and Tools, 17(3):103–120, 1996. 108, 110, 110, 119
B. Vergauwen and J. Lewi. A linear local model checking algorithm for CTL. In E. Best, editor, CONCUR’ 93, LNCS 715, pages 447–461. Springer-Verlag, 1993. 109
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1999 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Jéron, T., Morel, P. (1999). Test Generation Derived from Model-Checking. In: Halbwachs, N., Peled, D. (eds) Computer Aided Verification. CAV 1999. Lecture Notes in Computer Science, vol 1633. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-48683-6_12
Download citation
DOI: https://doi.org/10.1007/3-540-48683-6_12
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-66202-0
Online ISBN: 978-3-540-48683-1
eBook Packages: Springer Book Archive