S. Schulz and S. Müller, "Test Implementation using TTCN-3 Libraries," ETSI TTCN-3 User Conference 2005: Sophia Antipolis (France), June 6-8, 2005.
Added by: Deleted user (25 Jul 2008 14:20:44 Europe/Berlin) Last edited by: Deleted user (13 Aug 2008 13:55:23 Europe/Berlin)
|Resource type: Conference Paper
BibTeX citation key: Schulza
View all bibliographic details
Creators: Müller, Schulz
Publisher: ETSI (Sophia Antipolis (France))
Collection: ETSI TTCN-3 User Conference 2005
Views index: %
Popularity index: 15%
TTCN has been changed from a table-based notation to a textual notation. This new format has turned TTCN-3 into a powerful and much more flexible testing language, which now allows the use of various programming styles. As a matter of fact implementers must now agree in a test suite design on a common programming style so that it can be properly maintained in the future.
The ETSI Specialist Task Force (STF) 276, a joint ETSI/e-Europe project, is implementing an IPv6 test suite. The STF is using an implementation architecture which uses the concept of TTCN-3 libraries. Although libraries are quite well known concept in the implementation of software with conventional programming languages, they have not yet got much exposure in test suite implementations with TTCN-3. The presented approach has already been applied and validated within the STF as well as industry with very encouraging results.
In the first part of our presentation we present the motivation for our approach. When the STF set out to design a framework for the IPv6 test implementation the goal was to avoid the commonly practiced “copy & paste” approach but instead to implement a test suite based on repositories of validated and highly reusable test behavior – which we call a TTCN-3 libraries. In practice this “copy & paste” mentality has not only created test suite implementations which are hard to maintain, it also has led to “reinventions of the wheel”, e.g., the synchronization of multiple test components within a test case.
The main part of our presentation will focus on the actual implementation of libraries in TTCN-3. We will discuss working with multiple levels of libraries, modularization of TTCN-3 code in a library, and the design and implementation of highly reusable TTCN-3 functions, which includes discussions on the use of test component verdicts, the role of component type compatibility, as well as the level of decomposition of library functions. Finally we will also present one approach to documenting TTCN-3 code which is required to make any code truly reusable.
In our last part we will then show the application of these concepts in the design, implementation, and documentation of a test component synchronization library, and its integration in the IPv6 test suite.
Added by: Deleted user Last edited by: Deleted user