Skip to main content

Testing UML2.0 Models Using TTCN-3 and the UML2.0 Testing Profile

  • Conference paper

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

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

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Baker, P., Dai, Z.R., Grabowski, J., Haugen, Ø., Schieferdecker, I., Williams, C.: Model-Driven Testing Using the UML Testing Profile. Springer, Berlin (2007)

    Google Scholar 

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

    Chapter  Google Scholar 

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

    Google Scholar 

  4. Object Management Group (OMG): UML Superstructure Specification, Version 2.0, formal/05-07-04 (August 2005)

    Google Scholar 

  5. Object Management Group (OMG): UML 2.0 Testing Profile, Final Adopted Specification. ptc/04-10-14 (April 2004)

    Google Scholar 

  6. Specification and Description Language (SDL-2000). International Telecommunications Union – Telecommunications Standards Sector (ITU-T) Recommendation Z.100, Geneva (2001)

    Google Scholar 

  7. Telelogic Code Generation: http://www.telelogic.com/products/tau/g2/design-high-quality-software.cfm

  8. Telelogic cosimulation: http://www.telelogic.com/products/tau/ttcn/co-simulate-and-test-your-system-design.cfm

  9. Telelogic SDL Suite: http://www.telelogic.com/products/tau/sdl/overview.cfm

  10. Telelogic Tau G2: http://www.telelogic.com/products/tau/g2/overview.cfm

  11. Telelogic TTCN Suite: http://www.telelogic.com/products/tau/ttcn/overview.cfm

  12. Telelogic Tester: http://www.telelogic.com/products/tau/tester/overview.cfm

  13. Conformance Testing Methodology and Framework – Part 3: The Tree and Tabular Combined Notation (TTCN), ITU Recommendation X.292 (1997)

    Google Scholar 

  14. The Testing and Test Control Notation version 3; Part 1: TTCN-3 Core Language, ETSI ES 201 873-1 V3.1.1 (2005-06)

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Emmanuel Gaudin Elie Najm Rick Reed

Rights and permissions

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

Publish with us

Policies and ethics