1、 ETSI ES 203 119-2 V1.3.1 (2018-05) Methods for Testing and Specification (MTS); The Test Description Language (TDL); Part 2: Graphical Syntax ETSI STANDARD ETSI ETSI ES 203 119-2 V1.3.1 (2018-05)2 Reference RES/MTS-203119-2v1.3.1 Keywords graphical notation, language, MBT, methodology, testing ETSI
2、 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/
3、www.etsi.org/standards-search The present document may be made available in electronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived dif
4、ference in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or c
5、hange of status. Information on the current status of this and other ETSI documents is available at https:/portal.etsi.org/TB/ETSIDeliverableStatus.aspx If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSuppor
6、tStaff.aspx Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written authorizat
7、ion of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. ETSI 2018. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are trademarks of ETSI registered for the benefit of its Members. 3GPPTM and LTETMare trademarks of ETSI registered for the benef
8、it of its Members and of the 3GPP Organizational Partners. oneM2M logo is protected for the benefit of its Members. GSMand the GSM logo are trademarks registered and owned by the GSM Association. ETSI ETSI ES 203 119-2 V1.3.1 (2018-05)3 Contents Intellectual Property Rights 5g3Foreword . 5g3Modal ve
9、rbs terminology 5g31 Scope 6g32 References 6g32.1 Normative references . 6g32.2 Informative references 6g33 Definitions and abbreviations . 6g33.1 Definitions 6g33.2 Abbreviations . 7g34 Basic principles 7g34.1 Introduction 7g34.2 Document Structure 7g34.3 Notational Conventions 8g34.3.0 General 8g3
10、4.3.1 Symbols and meanings for shapes 8g34.3.2 Symbols for non-terminal textual labels . 8g34.3.3 Examples 9g34.4 Conformance 10g35 Diagram 11g36 Shapes. 11g36.1 Foundation 11g36.1.1 Element . 11g36.1.2 NamedElement . 11g36.1.3 ElementImport 12g36.1.4 Package . 12g36.1.5 Comment 13g36.1.6 Annotation
11、Type 13g36.1.7 Annotation 14g36.1.8 TestObjective 14g36.2 Data 15g36.2.1 SimpleDataType . 15g36.2.2 StructuredDataType 15g36.2.3 CollectionDataType 16g36.2.4 ProcedureSignature . 16g36.2.5 Time 17g36.2.6 DataInstance . 17g36.2.7 SimpleDataInstance 17g36.2.8 StructuredDataInstance . 18g36.2.9 Collect
12、ionDataInstance. 19g36.2.10 Parameter 19g36.2.11 Action . 20g36.2.12 Function 20g36.2.13 DataResourceMapping 21g36.2.14 ParameterMapping 21g36.2.15 DataElementMapping . 22g36.2.16 DataUse 22g36.2.17 StaticDataUse . 23g36.2.18 DataInstanceUse . 23g36.2.19 AnyValue 24g36.2.20 AnyValueOrOmit . 24g36.2.
13、21 OmitValue. 25g36.2.22 DynamicDataUse 25g3ETSI ETSI ES 203 119-2 V1.3.1 (2018-05)4 6.2.23 FunctionCall . 25g36.2.24 FormalParameterUse 26g36.2.25 VariableUse 26g36.2.26 PredefinedFunctionCall 26g36.3 Time . 27g36.3.1 TimeLabel . 27g36.3.2 TimeLabelUse . 27g36.3.3 Wait 28g36.3.4 Quiescence 28g36.3.
14、5 TimeConstraint . 29g36.3.6 TimerStart . 29g36.3.7 TimeOut 29g36.3.8 TimerStop . 30g36.4 Test Configuration 30g36.4.1 TestConfiguration . 30g36.4.2 GateType 31g36.4.3 GateInstance . 31g36.4.4 ComponentType . 32g36.4.5 ComponentInstance 32g36.4.6 Connection 33g36.5 Test Behaviour . 33g36.5.1 TestDes
15、cription . 33g36.5.2 Behaviour 34g36.5.3 CombinedBehaviour . 35g36.5.4 Block . 36g36.5.5 CompoundBehaviour 36g36.5.6 BoundedLoopBehaviour . 37g36.5.7 UnboundedLoopBehaviour. 37g36.5.8 OptionalBehaviour 38g36.5.9 AlternativeBehaviour 38g36.5.10 ConditionalBehaviour . 39g36.5.11 ParallelBehaviour . 39
16、g36.5.12 DefaultBehaviour 40g36.5.13 InterruptBehaviour 40g36.5.14 PeriodicBehaviour 41g36.5.15 Break . 41g36.5.16 Stop . 42g36.5.17 VerdictAssignment . 42g36.5.18 Assertion . 42g36.5.19 Message 43g36.5.20 ProcedureCall . 44g36.5.21 ActionReference . 45g36.5.22 InlineAction 46g36.5.23 Assignment . 4
17、6g36.5.24 TestDescriptionReference . 47g3Annex A (informative): Examples . 48g3A.0 Overview 48g3A.1 Illustration of Data use in TDL Graphical Syntax 49g3A.2 Interface Testing . 51g3A.3 Interoperability Testing 53g3History 56g3ETSI ETSI ES 203 119-2 V1.3.1 (2018-05)5 Intellectual Property Rights Esse
18、ntial patents IPRs essential or potentially essential to normative deliverables may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs
19、); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (https:/ipr.etsi.org/). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been c
20、arried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are, or may be, or may become, essential to the present document. Trademarks The present document may include trademarks and/or tradenames w
21、hich are asserted and/or registered by their owners. ETSI claims no ownership of these except for any which are indicated as being the property of ETSI, and conveys no right to use or reproduce any trademark and/or tradename. Mention of those trademarks in the present document does not constitute an
22、 endorsement by ETSI of products, services or organizations associated with those trademarks. Foreword This ETSI Standard (ES) has been produced by ETSI Technical Committee Methods for Testing and Specification (MTS). The present document is part 2 of a multi-part deliverable. Full details of the en
23、tire series can be found in part 1 1. Modal verbs terminology In the present document “shall“, “shall not“, “should“, “should not“, “may“, “need not“, “will“, “will not“, “can“ and “cannot“ are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression o
24、f provisions). “must“ and “must not“ are NOT allowed in ETSI deliverables except when used in direct citation. ETSI ETSI ES 203 119-2 V1.3.1 (2018-05)6 1 Scope The present document specifies the concrete graphical syntax of the Test Description Language (TDL). The intended use of the present documen
25、t is to serve as the basis for the development of graphical TDL tools and TDL specifications. The meta-model of TDL and the meanings of the meta-classes are described in ETSI ES 203 119-1 1. NOTE: OMG, UML, OCL and UTP are the trademarks of OMG (Object Management Group). This information is given fo
26、r the convenience of users of the present document and does not constitute an endorsement by ETSI of the products named. 2 References 2.1 Normative references References are either specific (identified by date of publication and/or edition number or version number) or non-specific. For specific refe
27、rences, only the cited version applies. For non-specific references, the latest version of the referenced document (including any amendments) applies. Referenced documents which are not found to be publicly available in the expected location might be found at https:/docbox.etsi.org/Reference. NOTE:
28、While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term validity. The following referenced documents are necessary for the application of the present document. 1 ETSI ES 203 119-1 (V1.3.1): “Methods for Testing and Specification (MTS)
29、; The Test Description Language (TDL); Part 1: Abstract Syntax and Associated Semantics“. 2.2 Informative references References are either specific (identified by date of publication and/or edition number or version number) or non-specific. For specific references, only the cited version applies. Fo
30、r non-specific references, the latest version of the referenced document (including any amendments) applies. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term validity. The following referenced documents are not necessary
31、for the application of the present document but they assist the user with regard to a particular subject area. i.1 ETSI TS 136 523-1 (V10.2.0) (10-2012): “LTE; Evolved Universal Terrestrial Radio Access (E-UTRA) and Evolved Packet Core (EPC); User Equipment (UE) conformance specification; Part 1: Pr
32、otocol conformance specification (3GPP TS 36.523-1 version 10.2.0 Release 10)“. i.2 ETSI TS 186 011-2 (V3.1.1) (06-2011): “IMS Network Testing (INT); IMS NNI Interoperability Test Specifications; Part 2: Test Description for IMS NNI Interoperability“. 3 Definitions and abbreviations 3.1 Definitions
33、For the purposes of the present document, the following terms and definitions apply: diagram: placeholder of TDL shapes ETSI ETSI ES 203 119-2 V1.3.1 (2018-05)7 lifeline: vertical line originates from a gate instance or a component instance, to which behavioural elements may be attached NOTE: A life
34、line from top to down represents how time passes. shape: layout of the graphical representation of a TDL meta-class 3.2 Abbreviations For the purposes of the present document, the following abbreviations apply: EBNF Extended Backus-Naur Form IMS IP Multimedia Subsystem OCL Object Constraint Language
35、TMTDL Test Description Language URI Unified Resource Identifier 4 Basic principles 4.1 Introduction The meta-model of the Test Description Language is specified in ETSI ES 203 119-1 1. The presentation format of the meta-model can be different according to the needs of the users or the requests of t
36、he domain, where the TDL is applied. These presentation formats can either be text-oriented or graphic-oriented and may cover all the functionalities of the TDL meta-model or just a part of it, which is relevant to satisfy the needs of a specific application domain. The present document specifies a
37、concrete graphical syntax that provides a graphical representation for the whole functionality of the TDL meta-model. The document specifies the TDL diagram, where the graphical representations of the instances of the TDL meta-classes may be placed. A graphical representation may contain a shape wit
38、h textual labels placed into it. The rules, how these labels shall be interpreted are described in OCL-like expressions. 4.2 Document Structure The present document specifies the concrete graphical syntax of the Test Description Language (TDL). Clause 5 specifies the TDL Diagram. Clause 6 specifies
39、the concrete shapes defined for the TDL meta-classes. (The meta-model of TDL and the meanings of the meta-classes are described in ETSI ES 203 119-1 1.) Foundation (clause 6.1) Data (clause 6.2) Time (clause 6.3) Test Configuration (clause 6.4) Test Behaviour (clause 6.5) At the end of the document
40、several examples illustrating the features of the TDL Graphical Syntax can be found. ETSI ETSI ES 203 119-2 V1.3.1 (2018-05)8 4.3 Notational Conventions 4.3.0 General Elements from the TDL meta-model 1 are typed in italic, e.g. StructuredDataType. The definition of the TDL concrete graphical syntax
41、consists of both shapes and textual labels placed into these shapes. Textual labels are differentiated into non-terminal textual labels and terminal textual labels. The production rule of a non-terminal textual label is specified by a combination of EBNF symbols and OCL-like expressions to navigate
42、over the abstract syntax meta-model of TDL. 4.3.1 Symbols and meanings for shapes Shapes consist of outermost borders, compartments, and textual labels (i.e. non-terminal textual labels and terminal-textual labels). The following conventions apply: Non-terminal textual labels are typed in small capi
43、tals (e.g. PRODUCTIONRULELABEL). The name of the label refers to a production rule with the same name that specifies how the result of the production rule is determined. If a non-terminal symbol name is typed in special, e.g. UNDERLINED or BOLD small capitals, underlined or bold font shall be used i
44、n the shape for the result of the production rule of that non-terminal symbol, e.g. g94g47g68g87g62g28g24g4g100g4g47g69g94g100g4g69g18g28g69g4g68g28g62g4g17g28g62 (non-terminal) and MyValue:MyType (a result of the production rule of that non-terminal) or g18g75g68g87g75g69g28g69g100g90g75g62g28g62g4
45、g17g28g62g3(non-terminal) and TESTER (a result of the production rule of that non-terminal), etc. Terminal textual labels are typed in non-small-capital characters. They shall be typeset in the same font, as they appear on the figure, e.g. if a terminal textual label is typed in bold, bold font shal
46、l be used in the shape for that terminal textual symbol, e.g. timer, etc. The outermost border of a shape shall not be hidden, unless it is stated explicitly. Compartments and non-terminal textual labels may be hidden to simplify the internal structure of the shape. In the figures, optional compartm
47、ents are shaded in a light grey colour, while optional non-terminal textual labels are typed in grey colour. However, the colour and the shading indicates only the optionality of a compartment or a non-terminal label. That is, if they are actually present in a test description, they shall not be sha
48、ded and shall be typed in black. If a non-terminal textual label is defined to be optional, that non-terminal textual label shall only be shown if the surrounding compartment is shown and the corresponding non-terminal textual production rule results in a non-empty string or a non-empty collection o
49、f strings. If an optional compartment contains a mandatory terminal or non-terminal textual label, the text shall only be shown if the surrounding compartment is shown. References to non-terminal textual production rules external to the given shape are represented by the name of the referenced production rule enclosed in angle brackets (e.g. ). A non-terminal textual label in between hashmarks (e.g. #ELEMENT#) denotes a placeholder for a shape identified by that non-terminal textual label. 4.3.2 Symbols for non-terminal textual
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1