OpenTTCN Architecture
OpenTTCN Tester / OpenTTCN Runtime
OpenTTCN Tester for TTCN-3 is a TTCN-3 test execution tool based on
a virtual machine and a hybrid just-in-time-compiler and interpreter.
The tool supports TTCN-3, TTCN-2, and ASN.1. The support for
CORBA IDL (Interface Definition Language) is in progress being added.
OpenTTCN Tester for TTCN-3 consists of two parts: tester, and SDK.
The tester implements compiler, test components, and other functionality
needed for executing test cases. The SDK provides support for
TTCN-3 TRI, TCI-CD, and TCI-TM interfaces by supplying libraries
needed for programming using these interfaces.
The following diagram shows the the major entities of the OpenTTCN-based test system.
Each entity is described in more detail below.
Test System Applications
Test system applications are the complete test systems for specific
application domain and they consists of a domain specific TTCN-3 test suite,
OpenTTCN runtime or development tools, and domain specific application components
and test management user interface.
Applications Components
Application components i.e. TTCN-3 SUT adapter, platform adapter, and coding and decoding
are specific to the domain of interest and are usually programmed to be used with a certain
TTCN-3 test suite. Application components are programmed using
the ANSI C, C++, Java, and C# programming language and linked with
OpenTTCN TTCN-3 libraries.
Compilers
In Windows, OpenTTCN supports
Visual Studio 2008*,
Visual Studio 2005,
Visual Studio 2003,
Visual C++ 6.0,
MinGW GCC 4*,
Java JDK*, and
Visual Studio 2005 and Visual Studio 2008 for C# (for .NET Framework)*. * = Available in February 15th, 2008.
In Linux, OpenTTCN supports, GCC 3.3 or earlier, and GCC 3.4 or later C/C++ compiler.
Operating Systems
OpenTTCN supports Windows XP, Windows Vista, various Linux distributions, and Free-BSD operating system.
In the future, OpenTTCN plans to support Apple Leopard and Sun Solaris operating systems.
Other Parts of Complete Test Setup
TTCN Editor
In the context of TTCN-3, the used editor
is either user preferred text editor or a specialized TTCN-3
editor used for editing TTCN-3 modules before they are processed
and compiled using OpenTTCN Tester.
In the context of TTCN-2, OpenTTCN recommends the use of Leonardo
Editor Pro TTCN-2 editor for editing TTCN-2 modules before they are
processed and compiled using OpenTTCN Tester. Leonardo Editor Pro
is a product and a trademark of Da Vinci Communications GmbH.
System Under Test
SUT: System Under Test is the complete real system in which the
Implementation Under Test (IUT) resides.
Usually the SUT is somewhat complete product or implementation needed for testing the IUT.
IUT: Implementation Under Test (IUT) is an implementation of
a protocol, service, feature, etc in adjacent user or provider
relationship to the test system, being that part of a real SUT
which is being studied by testing.
The above are adaptations of SUT and IUT definitions presented in ISO 9646-1 / IUT-T X.290.
Examples of correspondence of SUT and IUT:
| SUT |
IUT |
| WiMAX base station |
WiMAX MAC protocol implementation |
| WiMAX subscriber station |
WiMAX MAC protocol implementation |
| 3G mobile phone |
3G call control protocol implementation |
| GSM mobile phone |
GSM mobility management protocol implementation |
| Router |
OSPF protocol implementation |
| SIP proxy |
SIP protocol implementation |
| DNS server |
DNS protocol implementation |