Skip to main content

Data Flow Testing in TTCN-3 with a Relational Database Schema

  • Conference paper
SDL 2013: Model-Driven Dependability Engineering (SDL 2013)

Part of the book series: Lecture Notes in Computer Science ((LNCCN,volume 7916))

Included in the following conference series:

  • 742 Accesses

Abstract

In script based testing traditionally test data and test environment parameters are stored either in the test script document or in a separate file. In some test execution systems, test data items are loaded to a database during the initialization, however that set of data remains static during the execution. In this paper, we propose a TTCN-3 based approach that stores all test case related data, even constants, local variables and parameterized message templates of a test case in a relational database. Data types and data type instances are all mapped into SQL schemas. When executing a test case, appropriate test templates are fetched or even generated on-the-fly for the subsequent test step, which results in a higher data flow coverage. The course of test events are logged in the database that makes reproduction possible.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. Django: Django (2005-2013), http://www.djangoproject.com/

  2. Hansson, D.H.: Ruby on Rails (2013), http://rubyonrails.org/

  3. Baker, P., et al.: Data-Driven Testing. In: Model-Driven Testing, pp. 87–95. Springer (2008)

    Google Scholar 

  4. Soapui.org: Functional Tests – Data Driven Testing (2013), http://www.soapui.org/Data-Driven-Testing/functional-tests.html

  5. Gallio: MbUnit (2012), http://gallio.org/wiki/doku.php?id=mbunit

  6. EaseTech: easytest (2013), http://github.com/EaseTech

  7. Fitnesse Test Manager: Fitnesse Resources (2010), http://fitnesse.testmanager.info/fitnesse/DataDrivenTesting.pdf

  8. Szabo, J.Z., Csondes, T.: TITAN, TTCN-3 Test Execution Environment. Infocommunications Journal 57(1), 27–31 (2007), www.hiradastechnika.hu/data/upload/file/2007/2007_1a/HT_0701a-6.pdf

    Google Scholar 

  9. Gecse, R.: Towards automatic generation of a coherent TTCN-3 template framework. In: Núñez, M., Baker, P., Merayo, M.G. (eds.) TESTCOM 2009. LNCS, vol. 5826, pp. 223–228. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  10. Tretmans, J.: Testing Concurrent Systems: A Formal Approach. In: Baeten, J.C.M., Mauw, S. (eds.) CONCUR 1999. LNCS, vol. 1664, pp. 46–65. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  11. Wang, C.J., Liu, M.T.: Generating Test Cases for EFSM with Given Fault Models. In: Proceedings of the Twelfth Annual Joint Conference of the IEEE Computer and Communications Societies, Networking – Foundation for the Future, vol. 2, pp. 774–781. IEEE (1993)

    Google Scholar 

  12. O’Neil, E.J.: Object/relational Mapping 2008 – Gibernate and the Entity Data Model (EDM). In: Proceedings of the 2008 ACM SIGMOD International Conference on Management of Data, SIGMOD 2008, pp. 1351–1356. ACM (2008)

    Google Scholar 

  13. JBoss.org: Hibernate (2013), http://www.hibernate.org/

  14. Alashqur, A., Thompson, C.: O-R gateway – A System for Connecting C++ Application Programs and Relational Databases. In: USENIX C++ Technical Conference, pp. 151–170. Usenix Association (1992), http://openlibrary.org/works/OL12608637W/USENIX_C_Technical_Conference

  15. Fajardo, V., Arkko, J., Loughley, J., Zorn, G.: Diameter base protocol (2012), http://tools.ietf.org/html/rfc6733

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Adamis, G., Wu-Hen-Chang, A., Németh, G.Á., Erős, L., Kovács, G. (2013). Data Flow Testing in TTCN-3 with a Relational Database Schema. In: Khendek, F., Toeroe, M., Gherbi, A., Reed, R. (eds) SDL 2013: Model-Driven Dependability Engineering. SDL 2013. Lecture Notes in Computer Science, vol 7916. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-38911-5_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-38911-5_1

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-38910-8

  • Online ISBN: 978-3-642-38911-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics