Overview of the ETSI Test Description Language

Slides:



Advertisements
Similar presentations
Fraunhofer FOKUS Competence Center MOTION FOKUS VIEW ON MODEL-BASED TEST DESCRIPTION LANGUAGES (TDLS) Alain-G. Vouffo Feudjio.
Advertisements

Language Specification using Metamodelling Joachim Fischer Humboldt University Berlin LAB Workshop Geneva
Profiles Construction Eclipse ECESIS Project Construction of Complex UML Profiles UPM ETSI Telecomunicación Ciudad Universitaria s/n Madrid 28040,
MBT Working Meeting Report Stephan Schulz MTS#56, Göttingen
Restricted © Siemens AG All rights reserved Siemens Corporate Technology | Month 20XX Proposed topics for TDL phase 3.
TEST DESCRIPTION LANGUAGE Work Item DES/MTS-140_TDL – STF work plan © ETSI All rights reserved Andreas Ulrich, Siemens AG (Rapporteur)MTS#58,
Automated Test Design ™ © 2011 Conformiq, Inc. CONFORMIQ DESIGNER On ES v1.2.1 Stephan Schulz MBT Working Meeting/MTS#56, Göttingen.
IT Requirements Capture Process. Motivation for this seminar Discovering system requirements is hard. Formally testing use case conformance is hard. We.
A Brief Introduction. Acknowledgements  The material in this tutorial is based in part on: Concurrency: State Models & Java Programming, by Jeff Magee.
Ontologies Reasoning Components Agents Simulations An Overview of Model-Driven Engineering and Architecture Jacques Robin.
End-to-End Design of Embedded Real-Time Systems Kang G. Shin Real-Time Computing Laboratory EECS Department The University of Michigan Ann Arbor, MI
David Harrison Senior Consultant, Popkin Software 22 April 2004
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
Copyright © Siemens AG All rights reserved. Essential Criteria on MBT to Ensure Quality of Software in Industry PVR Murthy Andreas Ulrich Siemens.
Workshop on Integrated Application of Formal Languages, Geneva J.Fischer Mappings, Use of MOF for Language Families Joachim Fischer Workshop on.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
2nd TTCN-3 User Conference, June The TTCN-3 Metamodel – A Basis for Tool Integration Ina Schieferdecker TU Berlin/Fraunhofer Fokus Hajo Eichler,
7 Systems Analysis and Design in a Changing World, Fifth Edition.
TTCN-3 MOST Challenges Maria Teodorescu
TTCN-3 and ASN.1 interworking Analysis of backward compatibility in ASN.1 Géza Horváth TTCN-3 User Conference – 9 June 2011.
Chapter 5 System Modeling. What is System modeling? System modeling is the process of developing abstract models of a system, with each model presenting.
UML Profile BY RAEF MOUSHEIMISH. Background Model is a description of system or part of a system using well- defined language. Model is a description.
14 October 2002GGF6 / CGS-WG1 Working with CIM Ellen Stokes
21/1/ Analysis - Model of real-world situation - What ? System Design - Overall architecture (sub-systems) Object Design - Refinement of Design.
Ontologies Reasoning Components Agents Simulations An Overview of Model-Driven Engineering and Architecture Jacques Robin.
Defects of UML Yang Yichuan. For the Presentation Something you know Instead of lots of new stuff. Cases Instead of Concepts. Methodology instead of the.
Automated Test Design ™ © 2011 Conformiq, Inc. CONFORMIQ DESIGNER MBT Working Meeting Report Stephan Schulz MTS#56, Göttingen.
STF 454 “DESIGN OF TDL” Proposed TDL features © ETSI All rights reserved.
Copyright © Siemens AG All rights reserved. Corporate Technology A Test Scenario Description Language Bridging the gap between model-based testing.
M&CML: A Monitoring & Control Specification Modeling Language
SysML 2.0 Requirements for Visualization
Modeling Formalism Modeling Language Foundations
Systems Analysis and Design in a Changing World, Fourth Edition
Welcome to M301 P2 Software Systems & their Development
TQS - Teste e Qualidade de Software (Software Testing and Quality) Test Case Design – Model Based Testing João Pascoal.
SysML 2.0 Requirements for Visualization
TDL Standardization and Development – Building a Community
Course Outcomes of Object Oriented Modeling Design (17630,C604)
SysML 2.0 Formalism: Requirement Benefits, Use Cases, and Potential Language Architectures Formalism WG December 6, 2016.
Methodological Issues in Model-Based Testing (MBT)
Object-Oriented Analysis and Design
SysML v2 Formalism: Requirements & Benefits
Introduction to Design Patterns
Unified Modeling Language
Proposed SysML v2 Submission Plan
Software engineering USER INTERFACE DESIGN.
STF 454 “Design of TDL” – Status Report
STF 454 “Design of TDL” – Status Report
SysML 2.0 Concept and Needs for Visualization
STF 454 “Design of TDL” – Status Report
Introduction to UML.
TDL: The ETSI Test Description Language
2. An overview of SDMX (What is SDMX? Part I)
Input to ETSI TDL tool development
ETSI Work Item on “Test Description Language”
Constructing MDA-based Application Using Rational XDE for .NET
TDL: The ETSI Test Description Language
ETSI TC MTS TDL SC meeting Reports
Implementing the Standardised Mapping of TDL to TTCN-3
Overview of the ETSI Test Description Language
TDL and TOP Development at MTS
ETSI TC MTS TDL SC meeting Reports
ETSI TC MTS TDL SC meeting Reports
TDL: The ETSI Test Description Language
TDL and TOP Development at MTS
Uml diagrams In ooad.
ETSI MTS#76 Meeting 23-Jan-2019
Software Development Process Using UML Recap
Introduction to TDL and TOP
Software Architecture & Design
Presentation transcript:

Overview of the ETSI Test Description Language Andreas Ulrich (Rapporteur) Siemens AG andreas.ulrich@siemens.com © ETSI 2012. All rights reserved 2nd MBT User Conference 2012 Tallinn, Estonia September 25–27, 2012

2nd MBTUC 2012, Tallinn, Estonia Overview What can I do with TDL? How is TDL designed? How does TDL compare to other approaches? How does TDL look like to users? What comes next? 2nd MBTUC 2012, Tallinn, Estonia

2nd MBTUC 2012, Tallinn, Estonia What can I do with TDL? 2nd MBTUC 2012, Tallinn, Estonia

2nd MBTUC 2012, Tallinn, Estonia Purpose of TDL Scope Distributed, concurrent, reactive real-time systems Black-box testing Indifferent to application domains Telecommunication / automotive / avionics / automation / others Different, user-definable testing languages Application scenarios Manual specification of tests from use cases, user stories etc. Intermediate representation of automatically generated tests Representing output from MBT tools Generation of Executable tests Test documentation Visualization of test logs 2nd MBTUC 2012, Tallinn, Estonia

2nd MBTUC 2012, Tallinn, Estonia TDL Specifies… Interactions between SUT/tester at observable interfaces (only) System inputs/outputs: messages, calls, signals Expected flow of interactions Sequential, alternative, concurrent, recurrent behavior, etc. Mock-up (default) behavior, others Timing constraints System response time (system in/out, out/out constraints) Tester reaction time (system out/in constraints) Test data Concrete values Constraints on valid test data, i.e. ranges or intervals Parameterization of test specifications Individual test cases Entire test suites 2nd MBTUC 2012, Tallinn, Estonia

An Application Scenario Example for TDL Test Purpose Spec (ExTRA) System Model (State Chart) Automatic Test Case Generation Manual Derivation In Syntax #1 Test Case Spec (TDL) Test Documentation (MS Word) Generation In Syntax #2 Automatic Code Generation Executable Tests (TTCN-3) 2nd MBTUC 2012, Tallinn, Estonia

2nd MBTUC 2012, Tallinn, Estonia How is TDL designed? 2nd MBTUC 2012, Tallinn, Estonia

Ingredients of a Software Language Abstract Syntax (abstract syntax graph, meta-model) Concrete Syntax (syntax tree, BNF grammar) Formal Semantics (transitional or operational sem.) 2nd MBTUC 2012, Tallinn, Estonia

2nd MBTUC 2012, Tallinn, Estonia Coverage by TDL Abstract Syntax Standardized, incl. extension capabilities Concrete Syntax Formal Semantics Informative, by example only Standardized 2nd MBTUC 2012, Tallinn, Estonia

2nd MBTUC 2012, Tallinn, Estonia Using TDL Static analysis Consistency checks, visualization Common TDL meta-model Test concepts expressed in a single abstract syntax Test generation Transformation Abstract test descriptions Various user-defined syntaxes, e.g. graphical, tabular, textual Executable tests Various test environments and languages, e.g. TTCN-3, C# 2nd MBTUC 2012, Tallinn, Estonia

Definition of the TDL Meta-Model In fact, two approaches exist OMG’s UML/MOF International standard Complex Eclipse Modeling Framework (EMF) Ecore Simpler than MOF Good tool support For practicability reasons, TDL meta-model will be based on a subset of Ecore 2nd MBTUC 2012, Tallinn, Estonia

TDL is Adjustable by User TDL meta-model can be extended by a user if need arises TDL concrete syntax may cover only parts of the meta-model User extensions of the TDL meta-model can be subjected to further TDL standardization and maintenance Extends Partially implements User-defined concrete syntax TDL meta-model w/ user extensions 2nd MBTUC 2012, Tallinn, Estonia

How does TDL look like to users? 2nd MBTUC 2012, Tallinn, Estonia

Examples in Possible TDL Concrete Syntax Sequential test with multiple SUT ports Structured test with default behavior Note: Examples only, concrete syntax is defined by user! 2nd MBTUC 2012, Tallinn, Estonia

Examples in Possible TDL Concrete Syntax A concurrent test in graphical and textual notation testcase joinTC() { UCAROL ! join(Carol, room1); par { { BOB ? joinPDU(Carol, ?); BOB ! joinPDU(Bob, room1) }, { ALICE ? joinPDU(Carol, ?); ALICE ! joinPDU(Alice, room1) } }; UCAROL ? joined() } A test suite model Note: Examples only, concrete syntax is defined by user! 2nd MBTUC 2012, Tallinn, Estonia

How does TDL compare to other approaches? 2nd MBTUC 2012, Tallinn, Estonia

TDL vs. UML Testing Profile UTP Focus on test descriptions of tester/SUT interactions Various concrete syntaxes Precise semantics Common meta-model for tests fosters reuse of tests and tools Amendable to user’s needs – extension, reduction of scope Wide scope inherited from UML, covers all kinds of test modeling Graphical language Semantics relies on UML Tool-specific solutions, models hardly transferrable Captures not all needs, further profiles needed, e.g. MARTE The semantic fuzz of UML 2nd MBTUC 2012, Tallinn, Estonia

2nd MBTUC 2012, Tallinn, Estonia TDL vs. TTCN-3 TDL TTCN-3 Test specification level Captures requirements on a tester w.r.t. SUT behavior Leaves room for various tester code generation strategies Clean test spec possible – level of detail adjustable by user Supports validation of test spec due to concise semantics Test execution level Detailed tester implementation, incl. tester internal behavior Captures the user intension of an executable tester Tester code sometimes cluttered, unreadable Validation hard due to complex semantics 2nd MBTUC 2012, Tallinn, Estonia

2nd MBTUC 2012, Tallinn, Estonia Business Value of TDL Provides guidance to users to define ‘their’ test language (concrete syntax) based on common concepts (TDL abstract syntax) Graphical UML-like / textual / tabular representation of tests Enables tool vendors to develop specialized test generation tools from common abstract test model Generation of TTCN-3 / Java/JUnit test code / test documentation Generation of sequential tests / concurrent tests Enables provision of analysis tools independent from a concrete user language Consistency checker Analysis for system input/output races Offers a way to exchange of test specs at an abstract level Common meta-model for all kind of tests 2nd MBTUC 2012, Tallinn, Estonia

2nd MBTUC 2012, Tallinn, Estonia What comes next? 2nd MBTUC 2012, Tallinn, Estonia

2nd MBTUC 2012, Tallinn, Estonia Status & Outlook Achievements so far Identification of the purpose and business value of TDL Collection of related work Discussion on TDL features Next steps Agreement on TDL core features Design of the TDL meta-model Validate the TDL concepts in a tool  Make a (draft) ETSI standard on TDL available in 2013! Do you want to join? 2nd MBTUC 2012, Tallinn, Estonia

2nd MBTUC 2012, Tallinn, Estonia Acknowledgments So far, the TDL initiative has attracted quickly 30+ persons and different organisations from industry, tool providers, and research from inside and outside of ETSI. The rapporteur of this activity is thankful for the many stimulating and controversial discussions by various people to lay out the cornerstones of TDL! Siemens AG acknowledges partial funding of this activity from the ARTEMIS Joint Undertaking, grant agreement no. 269335 and the German BMBF. 2nd MBTUC 2012, Tallinn, Estonia

Thank you! Your questions?