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.
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
Django: Django (2005-2013), http://www.djangoproject.com/
Hansson, D.H.: Ruby on Rails (2013), http://rubyonrails.org/
Baker, P., et al.: Data-Driven Testing. In: Model-Driven Testing, pp. 87–95. Springer (2008)
Soapui.org: Functional Tests – Data Driven Testing (2013), http://www.soapui.org/Data-Driven-Testing/functional-tests.html
Gallio: MbUnit (2012), http://gallio.org/wiki/doku.php?id=mbunit
EaseTech: easytest (2013), http://github.com/EaseTech
Fitnesse Test Manager: Fitnesse Resources (2010), http://fitnesse.testmanager.info/fitnesse/DataDrivenTesting.pdf
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
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)
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)
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)
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)
JBoss.org: Hibernate (2013), http://www.hibernate.org/
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
Fajardo, V., Arkko, J., Loughley, J., Zorn, G.: Diameter base protocol (2012), http://tools.ietf.org/html/rfc6733
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)