Skip to main content

Implementing and Applying the Stocks-Carrington Framework for Model-Based Testing

  • Conference paper
Formal Methods and Software Engineering (ICFEM 2009)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 5885))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Fastest, http://www.flowgate.net/?lang=en&seccion=herramientas

  2. Stocks, P., Carrington, D.: A Framework for Specification-Based Testing. IEEE Transactions on Software Engineering 22(11), 777–793 (1996)

    Article  Google Scholar 

  3. Stocks, P.: Applying Formal Methods to Software Testing. PhD thesis, Department of Computer Science, University of Queensland (1993)

    Google Scholar 

  4. Maccoll, I., Carrington, D.: Extending the Test Template Framework. In: Proceedings of the Third Northern Formal Methods Workshop (1998)

    Google Scholar 

  5. Utting, M., Legeard, B.: Practical Model-Based Testing: A Tools Approach. Morgan Kaufmann Publishers Inc., San Francisco (2006)

    Google Scholar 

  6. Spivey, J.M.: The Z Notation: A Reference Manual. Prentice-Hall, Inc., Upper Saddle River (1989)

    MATH  Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Article  Google Scholar 

  9. 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)

    Chapter  Google Scholar 

  10. 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)

    Chapter  Google Scholar 

  11. Hierons, R.M.: Testing from a Z Specification. Softw. Test., Verif. Reliab. 7(1), 19–33 (1997)

    Article  Google Scholar 

  12. Burton, S., York, H.: Automated Testing from Z Specifications. Technical report, Department of Computer Science – University of York (2000)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. Community Z Tools, http://czt.sourceforge.net

  15. ISO: Information Tchnology – Z Formal Specification Notation – Syntax, Type System and Semantics. Technical Report ISO/IEC 13568, International Organization for Standardization (2002)

    Google Scholar 

  16. Clements, P., Garlan, D., Bass, L., Stafford, J., Nord, R., Ivers, J., Little, R.: Documenting Software Architectures: Views and Beyond. Pearson Education, London (2002)

    Google Scholar 

  17. Shaw, M., Garlan, D.: Software architecture: perspectives on an emerging discipline. Prentice-Hall, Upper Saddle River (1996)

    MATH  Google Scholar 

  18. Garlan, D., Kaiser, G.E., Notkin, D.: Using Tool Abstraction to Compose Systems. Computer 25(6), 30–38 (1992)

    Article  Google Scholar 

  19. 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)

    Chapter  Google Scholar 

  20. 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)

    Chapter  Google Scholar 

  21. Bishop, M.: Computer Security. Art and Science. Addison-Wesley, Reading (2003)

    Google Scholar 

  22. Hörcher, H.M., Peleska, J.: Using Formal Specifications to Support Software Testing. Software Quality Journal 4, 309–327 (1995)

    Article  Google Scholar 

  23. 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)

    Google Scholar 

  24. Murray, L.: Software Requirements Specification for TinMan - Version 1.0. Technical Report 99-02, The Univesity of Qeensland (1999)

    Google Scholar 

  25. Conformiq, http://www.conformiq.org

  26. Smartesting, http://www.smartesting.com

  27. Telelogic: Telelogic Statemate & Telelogic Rhapsody, http://modeling.telelogic.com/products/

  28. Utting, M.: Model JUnit, http://www.cs.waikato.ac.nz/~marku/mbt/modeljunit/

  29. T-VEC: Requirements-Based Automated Verification, http://www.t-vec.com/solutions/rave.php

  30. T-VEC: T-vec Tester for Simulink and Stateflow, http://www.t-vec.com/solutions/simulink.php

  31. Reactis, http://www.reactive-systems.com

  32. Abrial, J.R.: The B-book: Assigning Programs to Meanings. Cambridge University Press, New York (1996)

    MATH  Google Scholar 

  33. Utting, M.: Commercial MBT Tools, http://www.cs.waikato.ac.nz/~marku/mbt/CommercialMbtTools.pdf

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics