1. TTCN-3 in a nutshell
Cut your sofware testing expenses
Functional black-box tests automation
2. What is TTCN-3? (1/2)
► TTCN-3 (Testing and Test Control Notation version 3) is a
strongly typed test scripting language. It is a precessor of
older TTCN standards that have been developed for more
than 15 years by now.
► TTCN has been developed and is maintained by the Methods
for Testing and Specification Technical Committee (TC-MTS)
at ETSI (European Telecommunications Standards Institute).
See more about ETSI...
► TTCN-3 is internationally standardized testing language that
is designed purely for black-box testing and certification.
3. What is TTCN-3? (2/2)
► TTCN-3 is not restricted to conformance testing and can be
used for many other kinds of testing including interoperability,
robustness, regression, system and integration testing.
► TTCN-3 is platform independent testing technology and there
are many TTCN-3 test tool vendords available.
► TTCN-3 is ‘living’ language and is constantly under
development receiving new input from the whole TTCN-3
community (users, vendors and other stakeholders).
4. How is TTCN-3 different?
► From conventional programming or scripting language?
► Dedicated language for testing
► Rich type system including native list types and support for subtyping
► Built-in matching mechanism
► Snapshot semantics, i.e., well defined handling of port and timeout queues
during their access
► Concept of verdicts and a verdict resolution mechanism
► Support for specification of concurrent test behaviour
► Support for timers
► Allows test configuration at run-time
► From a test tool or vendor proprietary testing language?
► Not tied to particular application or its interface(s)
► Not tied to any specific test execution environment, compiler or operating
system
► TTCN-3 as such is not executable, it requires a compiler/interpreter, adapter
as well as codec implementations
Source: www.etsi.org
5. TTCN-3 generic framework
Test System User
TM: Test Management TL: Test Logging
TCI
Component
Handling
Codec
CH:
CD:
TE: TEST EXECUTABLE
TRI
SA: System Adapter PA: Platform Adapter
System Under Test (SUT)
6. TRI and TCI
► TRI
TTCN-3 Runtime Interface (TRI) is a standardized interface that
helps to connect system adapter with the system under test
(SUT)
► TCI
TTCN-3 Control Interface (TCI) is a standardized interface helps
to connect external logger, test management and codecs
7. TTCN-3 application areas
► TTCN-3 popularity is constantly increasing and new users are joining the
community.
► It has been chosen to be the testing language in various large scale
projects, e.g. WIMAX, 3GPP LTE, IPv6, AUTOSAR etc.
► Application areas differentiate greatly, e.g. telecommunication, automotive,
railway, financial etc.
► The levels of applying and using TTCN-3 vary from module to high level
integrations.
Laboratory
Integration
Distributed Telecom Internet Transport
Layer
Unit
Module
Figure structure: www.etsi.org
9. TTCN-3 test system requirements
► A TTCN-3 test suite
►A TTCN-3 tool, i.e., a TTCN-3 compiler (or interpreter) plus
execution environment
► Optionally: implementations for test execution control, logging
and codecs (usually tools offer default implementations for
these)
► A SUT Adapter implementing the means of communication
required by SUT interfaces
► A Platform Adapter implementing a timing model and external
functions (if there are any defined in the test suite)
11. TTCN-3 standards
► Part 1: "TTCN-3 Core Language";
► Part 2: "TTCN-3 Tabular presentation Format (TFT)- not
supported as of version 4.2.1." ;
► Part 3: "TTCN-3 Graphical presentation Format (GFT)";
► Part 4: "TTCN-3 Operational Semantics";
► Part 5: "TTCN-3 Runtime Interface (TRI)";
► Part 6: "TTCN-3 Control Interface (TCI)";
► Part 7: "Using ASN.1 with TTCN-3";
► Part 8: "The IDL to TTCN-3 Mapping";
► Part 9: "Using XML schema with TTCN-3";
► Part 10: "TTCN-3 Documentation Comment Specification"
12. Public TTCN-3 test suites
► Session Initiation Protocol (SIP)
► IP Multimedia Subsystem (IMS)
► Internet Protocol Version 6 (Ipv6)
► WiMax MAC
► Digital Mobile Radio (DMR)
► Digital Public Mobile Radio (dPMR)
► Dynamic Host Configuration Protocol (DHCPv6)
► 3GPP LTE Test Suite
See more on www.ttcn-3.org
13. More information available...
ETSI's official TTCN-3 web site: www.ttcn-3.org
► Public TTCN-3 test suites, useful TTCN-3 modules
► Links to commercial as well as open source tools
Read publications
► Communicating Systems (TESTCOM)
► Presentations of yearly TTCN-3 User Conferences in Europe or Asia (see
www.ttcn-3.org and T3UC)
► Google for various TTCN-3 case studies
An Introduction to TTCN-3 Book
► Willcock, Deiss, Tobies, Keil, Engler, Schulz
► ISBN 0-470-01224-2