Title: The TTCN-3 Metamodel
1- The TTCN-3 Metamodel A Basis for Tool
Integration - Ina Schieferdecker TU Berlin/Fraunhofer Fokus
- Hajo Eichler, Zhen Ru DaiFraunhofer Fokus
- Mang Li, Wolfram Kroll
- Testing Technologies
2Contents
- Context (MDA, MOF)
- Motivation
- TTCN-3 Meta-Model
- Meta-Model based Tools in Eclipse
- Outlook
3Context
- Model-based development has gained a lot in the
context of UML - Model-based development is known in testing since
years and used for - Test generation from models
- Test validation against models
- Test coverage analysis
- With the graphical definition of tests with
- Graphical format of TTCN-3 (ETSI)
- UML 2.0 testing profile (OMG)
4The Model Driven Architecture
- Model Driven Architecture (MDA) is the new OMG
architecture (first announced Nov 2000) - MDA extends the OMA (Object Management
Architecture) by integrating modelling standards - MDA defines an approach to separate system
functionality specification from specification of
implementation of that functionality on a
specific platform
5Evolutions in Software Construction
?
C O M P L E X I T Y
FLEXIBILITY
6The Meta Object Facility (MOF)
- OMG standard for defining, representing and
managing metadata - Design and implement metamodels and models
- Use UML classes for specification
- Discover and manipulate metadata
- Find and manage metadata repositories
- Provides a MOF-to-IDL mapping to automate
generation of concrete object interfaces for
specific metamodels - Provides a MOF-to-XML mapping to automate
generation of XML schema and documents
7Metamodel based Infrastructure
Platform Independent System Models
Platform Specific System Models
SystemCode
- Test generation
- Test compilation
- ...
-
- Are just model transformers
MOF Model Bus
Platform Independent Test Models
Platform Specific Test Models
TestCode
8Use of MOF for TTCN-3
Meta-meta-model
Meta-model
Models
Data
9Motivation
- Separation of concerns
- TTCN-3 concept space (the TTCN-3 metamodel)
separated from TTCN-3 syntax (the core language
and the presentation formats) - Definition of the semantics on concept space
level - Syntax changes do not affect semantics definition
- Ease the exchange of TTCN-3 specifications (not
only textual ones) - Mappings of external languages to TTCN-3 can
reuse parts of the conceptual mapping from other
languages
10Changing view from
ASN.1 Types Values
TTCN-3 Core Language
Tabular Format
Graphical Format
Presentation Format n
Other Types Values n
11 to
Improvements in tool interoperation, model
exchange, Interface to the user remains the
same, But better features can be provided
12Some insight Modules
13Some insight Scopes
14The Programming Environment Eclipse
- Eclipse is
- an universal tool platform and
- an open extensible IDE
- for anything and nothing in particular.
- Eclipse Platform Technical Overview Object
Technology International, Inc., February 2003 - Eclipse Modeling Framework
- models and meta-models
- code generation facility
- serialization and loading
15The Resulting Repository
- Java packages
- Java interfaces that define the APIs to access
instances of the classes in the model - Java classes that implement those interfaces
- A generated adapter factory and a generated
switch class (useful when implementing adapters)
16Use of the repository
Test Specification TTCN-3 GFT
Test Execution TTCN-3 Debugging
17TTCN-3 IDE an Impression
18Outlook
- Revise the metamodel for a test suite validation
approach within TTmedal - Development of model transformers for
- Platform independent system models to platform
- independent tests (PIM to PIT)
- Platform specific system models to platform
specific - tests (PSM to PST)
- ...
- See next presentation
19Thank you !