Presentation is loading. Please wait.

Presentation is loading. Please wait.

2nd TTCN-3 User Conference, June 2005 1 The TTCN-3 Metamodel – A Basis for Tool Integration Ina Schieferdecker TU Berlin/Fraunhofer Fokus Hajo Eichler,

Similar presentations


Presentation on theme: "2nd TTCN-3 User Conference, June 2005 1 The TTCN-3 Metamodel – A Basis for Tool Integration Ina Schieferdecker TU Berlin/Fraunhofer Fokus Hajo Eichler,"— Presentation transcript:

1 2nd TTCN-3 User Conference, June 2005 1 The TTCN-3 Metamodel – A Basis for Tool Integration Ina Schieferdecker TU Berlin/Fraunhofer Fokus Hajo Eichler, Zhen Ru Dai Fraunhofer Fokus Mang Li, Wolfram Kroll Testing Technologies

2 2nd TTCN-3 User Conference, June 2005 2 Contents Context (MDA, MOF) Motivation TTCN-3 Meta-Model Meta-Model based Tools in Eclipse Outlook

3 2nd TTCN-3 User Conference, June 2005 3 Context 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) standardized model exchange becomes critical

4 2nd TTCN-3 User Conference, June 2005 4 The 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

5 2nd TTCN-3 User Conference, June 2005 5 ? model transformation paradigm Model Driven Architectures Meta Object Facility and UML Shared Metadata Environments (.NET, CWM, JMI, MOF) Evolutions in Software Construction COMPLEXITYCOMPLEXITY FLEXIBILITY step-wise procedural refinement paradigm C Pascal Modula object composition paradigm C++ Java Smalltalk distributed objects technology CORBA Java RMI EJB

6 2nd TTCN-3 User Conference, June 2005 6 The 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

7 2nd TTCN-3 User Conference, June 2005 7 Metamodel based Infrastructure MOF Model Bus Platform Independent System Models Platform Specific System Models Platform Independent Test Models System Code Platform Specific Test Models Test Code Model transformers Test generation Test compilation...  Are „just“ model transformers

8 2nd TTCN-3 User Conference, June 2005 8 Use of MOF for TTCN-3 MOF Model TTCN-3 Meta Model UML Model TTCN-3 Test Suite UML Meta Model Software System Meta-meta-model Meta-model Models Data (Testable)

9 2nd TTCN-3 User Conference, June 2005 9 Motivation 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 Integrate TTCN-3 tools into MDA based processes and infrastructures

10 2nd TTCN-3 User Conference, June 2005 10 Changing view from … Presentation Format n Graphical Format Tabular Format IDL ASN.1 Types & Values Other Types & Values n Presentation Format n XML TTCN-3 Core Language

11 2nd TTCN-3 User Conference, June 2005 11 … to … TTCN-3 Metamodel Presentation format n ASN.1 Types & Values IDLTypes Other Types & Values n Tabular format Graphical format Textual format XMLTypes Improvements in tool interoperation, model exchange, Interface to the user remains the same, But better features can be provided

12 2nd TTCN-3 User Conference, June 2005 12 Some insight: Modules

13 2nd TTCN-3 User Conference, June 2005 13 Some insight: Scopes

14 2nd TTCN-3 User Conference, June 2005 14 The 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

15 2nd TTCN-3 User Conference, June 2005 15 The 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) TTCN-3 Model in Rose EMF Repository import

16 2nd TTCN-3 User Conference, June 2005 16 Use of the repository {Test Specification} TTCN-3 core language {Test Management} TTCN-3 Deployment and Configuration {Test Analysis} TTCN-3 Logging and Tracing {Test Specification} TTCN-3 GFT {Test Generation} From UML system models From U2TP specifications of a component type TTVariableTTInvocation TTStartTC 1 1 +theTC 1 +theStart 1 startsTC 1 1 +theFunction 1 +theStart 1 startsFunction of a function of a component type TTVariableTTInvocation TTStartTC 1 1 +theTC 1 +theStart 1 startsTC 1 1 +theFunction 1 +theStart 1 startsFunction of a function of a component type TTVariableTTInvocation TTStartTC 1 1 +theTC 1 +theStart 1 startsTC 1 1 +theFunction 1 +theStart 1 startsFunction of a function EMF Repository {Test Execution} TTCN-3 Debugging

17 2nd TTCN-3 User Conference, June 2005 17 TTCN-3 IDE – an Impression 1. Specification 2. Deployment 3. Configuration 4. Management 5. Logging 6. Configuration Management

18 2nd TTCN-3 User Conference, June 2005 18 Outlook 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

19 2nd TTCN-3 User Conference, June 2005 Thank you !


Download ppt "2nd TTCN-3 User Conference, June 2005 1 The TTCN-3 Metamodel – A Basis for Tool Integration Ina Schieferdecker TU Berlin/Fraunhofer Fokus Hajo Eichler,"

Similar presentations


Ads by Google