Abstract
In this paper we describe the functional features and the architecture of a tool implementing the Stocks-Carrington framework (TTF) for model based testing (MBT). The resulting prototype, called Fastest, makes it easy to generate test cases from Z specifications. We not only apply the ideas of the referred framework but we also use a technique based on finite models to find test cases, which has proved to increase the level of automation during the whole testing process. The paper also discusses problems and challenges that have appeared during the development of the tool, and introduces real case studies and an analysis of the results obtained so far.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Fastest, http://www.flowgate.net/?lang=en&seccion=herramientas
Stocks, P., Carrington, D.: A Framework for Specification-Based Testing. IEEE Transactions on Software Engineering 22(11), 777–793 (1996)
Stocks, P.: Applying Formal Methods to Software Testing. PhD thesis, Department of Computer Science, University of Queensland (1993)
Maccoll, I., Carrington, D.: Extending the Test Template Framework. In: Proceedings of the Third Northern Formal Methods Workshop (1998)
Utting, M., Legeard, B.: Practical Model-Based Testing: A Tools Approach. Morgan Kaufmann Publishers Inc., San Francisco (2006)
Spivey, J.M.: The Z Notation: A Reference Manual. Prentice-Hall, Inc., Upper Saddle River (1989)
Souza, S., Maldonado, J., Fabbri, S. Masiero, P.: Statecharts Specifications: A Family of Coverage Testing Criteria. In: CLEI 2000 - XXVI Latin-American Conference of Informatics, CLEI (2000)
Bernard, E., Legeard, B., Luck, X., Peureux, F.: Generation of Test Sequences from Formal Specifications: GSM 11-11 Standard Case Study. International Journal of Software Practice and Experience 34(10), 915–948 (2004)
Dick, J., Faivre, A.: Automating the Generation and Sequencing of Test Cases from Model-Based Specifications. In: Larsen, P.G., Woodcock, J.C.P. (eds.) FME 1993. LNCS, vol. 670, pp. 268–284. Springer, Heidelberg (1993)
Helke, S., Neustupny, T., Santen, T.: Automating Test Case Generation from Z Specifications with Isabelle. In: Till, D., Bowen, J.P., Hinchey, M.G. (eds.) ZUM 1997. LNCS, vol. 1212, pp. 52–71. Springer, Heidelberg (1997)
Hierons, R.M.: Testing from a Z Specification. Softw. Test., Verif. Reliab. 7(1), 19–33 (1997)
Burton, S., York, H.: Automated Testing from Z Specifications. Technical report, Department of Computer Science – University of York (2000)
Malik, P., Utting, M.: CZT: A framework for Z tools. In: Treharne, H., King, S., Henson, M.C., Schneider, S. (eds.) ZB 2005. LNCS, vol. 3455, pp. 65–84. Springer, Heidelberg (2005)
Community Z Tools, http://czt.sourceforge.net
ISO: Information Tchnology – Z Formal Specification Notation – Syntax, Type System and Semantics. Technical Report ISO/IEC 13568, International Organization for Standardization (2002)
Clements, P., Garlan, D., Bass, L., Stafford, J., Nord, R., Ivers, J., Little, R.: Documenting Software Architectures: Views and Beyond. Pearson Education, London (2002)
Shaw, M., Garlan, D.: Software architecture: perspectives on an emerging discipline. Prentice-Hall, Upper Saddle River (1996)
Garlan, D., Kaiser, G.E., Notkin, D.: Using Tool Abstraction to Compose Systems. Computer 25(6), 30–38 (1992)
Saaltink, M.: The Z/EVES System. In: Till, D., Bowen, J., Hinchey, M.G. (eds.) ZUM 1997. LNCS, vol. 1212, pp. 72–85. Springer, Heidelberg (1997)
Legeard, B., Peureux, F., Utting, M.: A comparison of the BTT and TTF test-generation methods. In: Bert, D., Bowen, J., Henson, M.C., Robinson, K. (eds.) B 2002 and ZB 2002. LNCS, vol. 2272, pp. 309–329. Springer, Heidelberg (2002)
Bishop, M.: Computer Security. Art and Science. Addison-Wesley, Reading (2003)
Hörcher, H.M., Peleska, J.: Using Formal Specifications to Support Software Testing. Software Quality Journal 4, 309–327 (1995)
Murray, L., Carrington, D., Maccoll, I., Strooper, P.: TinMan - A Test Derivation and Management Tool for Specification-Based Class Testing. In: Technology of ObjectOriented Languages and Systems (TOOLS), pp. 222–233 (1999)
Murray, L.: Software Requirements Specification for TinMan - Version 1.0. Technical Report 99-02, The Univesity of Qeensland (1999)
Conformiq, http://www.conformiq.org
Smartesting, http://www.smartesting.com
Telelogic: Telelogic Statemate & Telelogic Rhapsody, http://modeling.telelogic.com/products/
Utting, M.: Model JUnit, http://www.cs.waikato.ac.nz/~marku/mbt/modeljunit/
T-VEC: Requirements-Based Automated Verification, http://www.t-vec.com/solutions/rave.php
T-VEC: T-vec Tester for Simulink and Stateflow, http://www.t-vec.com/solutions/simulink.php
Reactis, http://www.reactive-systems.com
Abrial, J.R.: The B-book: Assigning Programs to Meanings. Cambridge University Press, New York (1996)
Utting, M.: Commercial MBT Tools, http://www.cs.waikato.ac.nz/~marku/mbt/CommercialMbtTools.pdf
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Cristiá, M., Monetti, P.R. (2009). Implementing and Applying the Stocks-Carrington Framework for Model-Based Testing. In: Breitman, K., Cavalcanti, A. (eds) Formal Methods and Software Engineering. ICFEM 2009. Lecture Notes in Computer Science, vol 5885. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-10373-5_9
Download citation
DOI: https://doi.org/10.1007/978-3-642-10373-5_9
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-10372-8
Online ISBN: 978-3-642-10373-5
eBook Packages: Computer ScienceComputer Science (R0)