Abstract
This paper describes a toolset for functional testing UML2.0 models by TTCN-3 test suites and its application within Motorola. The toolset incorporates support for part of the UML2.0 testing profile from which TTCN-3 can be generated. The toolset has been developed within Motorola for models developed using Telelogic Tau G2 and test suites using Telelogic Tester. The models are subsequently used for application code generation.
The basic integration of the Telelogic Tau and Tester, called cosim, has novel features, such as the ability to service operations declared as external to the model within TTCN-3, and to control model timer operations within TTCN-3. Translating UML2.0 data structures, such as classes, signal definitions, port definitions, and constants into TTCN-3 is done by a tool called UMB. The paper deals with complexities in mapping Tau UML2.0 types and structuring into TTCN-3.
To provide more rigorous test specification a tool supporting part of the UML2.0 Testing Profile has been developed which enables consistency of test specifications to be checked automatically and also the generation of executable TTCN-3 test suites for cosim.
The toolset is being used by several different product groups within Motorola, and the paper reports some experience and findings, including areas where TTCN-3 can be extended.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Baker, P., Dai, Z.R., Grabowski, J., Haugen, Ø., Schieferdecker, I., Williams, C.: Model-Driven Testing Using the UML Testing Profile. Springer, Berlin (2007)
Baker, P., Bristow, P., Jervis, C., King, D., Mitchell, W.: Automatic Generation of Conformance Tests from Message Sequence Charts. In: Sherratt, E. (ed.) SAM 2002. LNCS, vol. 2599, Springer, Heidelberg (2003)
Dietz, P., Marth, K., Berg, A.v.d., Weigert, T., Weil, F.: Practical Considerations in Automatic Code Generation. In: Tsai, J., Zhang, D. (eds.) Advances in Machine Learning Application in Software Engineering, p. 92. Idea Group Publisher, Hershey (2006)
Object Management Group (OMG): UML Superstructure Specification, Version 2.0, formal/05-07-04 (August 2005)
Object Management Group (OMG): UML 2.0 Testing Profile, Final Adopted Specification. ptc/04-10-14 (April 2004)
Specification and Description Language (SDL-2000). International Telecommunications Union – Telecommunications Standards Sector (ITU-T) Recommendation Z.100, Geneva (2001)
Telelogic Code Generation: http://www.telelogic.com/products/tau/g2/design-high-quality-software.cfm
Telelogic cosimulation: http://www.telelogic.com/products/tau/ttcn/co-simulate-and-test-your-system-design.cfm
Telelogic SDL Suite: http://www.telelogic.com/products/tau/sdl/overview.cfm
Telelogic Tau G2: http://www.telelogic.com/products/tau/g2/overview.cfm
Telelogic TTCN Suite: http://www.telelogic.com/products/tau/ttcn/overview.cfm
Telelogic Tester: http://www.telelogic.com/products/tau/tester/overview.cfm
Conformance Testing Methodology and Framework – Part 3: The Tree and Tabular Combined Notation (TTCN), ITU Recommendation X.292 (1997)
The Testing and Test Control Notation version 3; Part 1: TTCN-3 Core Language, ETSI ES 201 873-1 V3.1.1 (2005-06)
The Testing and Test Control Notation version 3; Part 5: TTCN-3 Runtime Interface (TRI), ETSI ES 201 873-5 V3.1.1 (2005-06)
The Testing and Test Control Notation version 3; Part 6: TTCN-3 Control Interface (TCI), ETSI ES 201 873-6 V3.1.1 (2005-06)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2007 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Baker, P., Jervis, C. (2007). Testing UML2.0 Models Using TTCN-3 and the UML2.0 Testing Profile. In: Gaudin, E., Najm, E., Reed, R. (eds) SDL 2007: Design for Dependable Systems. SDL 2007. Lecture Notes in Computer Science, vol 4745. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-74984-4_6
Download citation
DOI: https://doi.org/10.1007/978-3-540-74984-4_6
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-74983-7
Online ISBN: 978-3-540-74984-4
eBook Packages: Computer ScienceComputer Science (R0)