Sie sind auf Seite 1von 40

THE ETSI TEST DESCRIPTION LANGUAGE

BRIEF INTRODUCTION
Philip Makedonski (University of Göttingen)
Martti Käärik (Elviour OU)
© ETSI 2018. All rights reserved
Overview

What is TDL?
First steps
• Test Description Language
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

• TDL main ingredients


Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)
• Design, documentation, and
representation of formalised test ETSI STANDARD • Test data
descriptions Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
• Test configuration ETSI STANDARD

Part 1: Abstract Syntax and Associated Semantics

• Scenario-based approach • Test behaviour Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

• Standardised at ETSI by TC MTS • Test objectives


• STF 454 (2013) • Time
• STF 476 (2014)
• STF 492 (2015-2016) The TDL Open Source Project
!

• STF 522 (2017)

X © ETSI 2018. All rights reserved

X © ETSI 2018. All rights reserved

X © ETSI 2017. All rights reserved

3 © ETSI 2018. All rights reserved


What is TDL?

• Test Description Language


Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

• Design, documentation, and


representation of formalised test ETSI STANDARD

descriptions Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

• Scenario-based approach
• Standardised at ETSI by TC MTS
• STF 454 (2013)
• STF 476 (2014)
!

• STF 492 (2015-2016)


• STF 522 (2017)

4 © ETSI 2018. All rights reserved


What is TDL?

• Design, documentation,
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

representation?
• ease development and review ETSI STANDARD

• improve productivity and quality Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

• both industry and standardisation


• reduce implementation details

5 © ETSI 2018. All rights reserved


MBT Workflow Manual Workflow

System Requirements Specification Requirements Level

Model TPLan TDL-TO

Test Generator Test Design Level

TDL

Test Code Generator

TTCN-3 (or Other Execution Language) Test Implementation Level

Adaptation

Executable Tests Test Execution Level

6 © ETSI 2018. All rights reserved


What is TDL?

• Scenario-based?
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

• describe interactions with a system


• attach test objectives to scenarios ETSI STANDARD

• derive and automate tests Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

• Reactive, distributed, real-time


• common black-box testing concepts
• domain adaptation
• agile development !

7 © ETSI 2018. All rights reserved


What is TDL?

• Standardised?
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

• canonical reference
• stable documentation ETSI STANDARD

• clear semantics Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

• interoperability and independence


• updated with user needs
• maintenance commitment
!

8 © ETSI 2018. All rights reserved


What is TDL?

• Contributions from:
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

• Siemens AG, Ericsson Hungary


• Fraunhofer FOKUS, ETSI CTI ETSI STANDARD

• CEA, University of Göttingen Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

• OU Elvior, Cinderella ApS


• Guidance:
• Steering Group, TC MTS
!

9 © ETSI 2018. All rights reserved


What is TDL?
Final draft ETSI ES 203 119-2 V1.3.1 (2018-03) Final draft ETSI ES 203 119-3 V1.3.1 (2018-03) Final draft ETSI ES 203 119-4 V1.3.1 (2018-03)

ETSI STANDARD ETSI STANDARD ETSI STANDARD

Methods for Testing and Specification (MTS); Methods for Testing and Specification (MTS); Methods for Testing and Specification (MTS);
The Test Description Language (TDL); The Test Description Language (TDL); The Test Description Language (TDL);
Part 2: Graphical Syntax Part 3: Exchange Format Part 4: Structured Test Objective Specification (Extension)

Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)


Part 2: GR Part 3: XF Part 4: TO
Graphical Exchange Structured
Syntax Format Test Objectives
ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

Part 1: MM Final draft ETSI ES 203 119-5 V1.1.1 (2018-03) Final draft ETSI ES 203 119-6 V1.1.1 (2018-04) Final draft ETSI ES 203 119-7 V1.1.1 (2018-03)

Meta-Model
and Semantics
ETSI STANDARD ETSI STANDARD ETSI STANDARD

Methods for Testing and Specification (MTS); Methods for Testing and Specification (MTS); Methods for Testing and Specification (MTS);
The Test Description Language (TDL); The Test Description Language (TDL); The Test Description Language (TDL);
Part 5: UML profile for TDL Part 6: Mapping to TTCN-3 Part 7: Extended Test Configurations

Part 5: Part 6: Part 7:


UML Profile Mapping Extended Test
for TDL to TTCN-3 Configurations

10 © ETSI 2018. All rights reserved


What is TDL?
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

User-defined syntax
!

Final draft ETSI ES 203 119-2 V1.3.1 (2018-03)

ETSI STANDARD

TDL P2: GR
TDL P4: TO

TDL P3: XF
Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 2: Graphical Syntax

Final draft ETSI ES 203 119-3 V1.3.1 (2018-03)

ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 3: Exchange Format

TDL P1: MM
Final draft ETSI ES 203 119-4 V1.3.1 (2018-03)

ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 4: Structured Test Objective Specification (Extension)

11 © ETSI 2018. All rights reserved


What is TDL?
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

User-defined syntax
!

Final draft ETSI ES 203 119-2 V1.3.1 (2018-03)

ETSI STANDARD

TDL P2: GR
TDL P4: TO

TDL P3: XF
Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 2: Graphical Syntax

Final draft ETSI ES 203 119-3 V1.3.1 (2018-03)

ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 3: Exchange Format

TDL P1: MM
Final draft ETSI ES 203 119-4 V1.3.1 (2018-03)

ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 4: Structured Test Objective Specification (Extension)

12 © ETSI 2018. All rights reserved


Semantics

What is TDL? A 'GateType' represents a type of communication points, called


'ComponentInstance's. A 'GateType' specifies the 'DataType's th
both directions.

Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

Generalization
ETSI STANDARD

• PackageableElement Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

User-defined syntax
Properties !

• dataType: DataType [1..*] {unique}


Final draft ETSI ES 203 119-2 V1.3.1 (2018-03)

The 'DataType's that can be exchanged via 'GateInstan


ETSI STANDARD

TDL P2: GR
TDL P4: TO

TDL P3: XF
shall adhere to the 'DataType's that are allowed to be e Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 2: Graphical Syntax

Constraints

There are no constraints specified. Final draft ETSI ES 203 119-3 V1.3.1 (2018-03)

ETSI STANDARD

Methods for Testing and Specification (MTS);

8.2.2 GateInstance
The Test Description Language (TDL);
Part 3: Exchange Format

Semantics
TDLAP1: MM
Final draft ETSI ES 203 119-4 V1.3.1 (2018-03)

'GateInstance' represents an instance of a 'GateType'. It is the


'ComponentInstance's. A 'GateInstance' is contained in a 'Comp
ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 4: Structured Test Objective Specification (Extension)

Generalization

• NamedElement
13 © ETSI 2018. All rights reserved
Into the lower empty compartment the elements of the TestCon

6.4.2 GateType
What is TDL? Concrete Graphical Notation

! " # $ Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

!"#"$%&'()%& " $ $ ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

Formal Description

User-defined syntax
!

Final draft ETSI ES 203 119-2 V1.3.1 (2018-03)

ETSI STANDARD

TDL P2: GR
TDL P4: TO

TDL P3: XF
Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 2: Graphical Syntax

Comments

No comments. Final draft ETSI ES 203 119-3 V1.3.1 (2018-03)

Radio
Data Type: Message, Signal
ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 3: Exchange Format

TDL P1: MM
Final draft ETSI ES 203 119-4 V1.3.1 (2018-03)

ETSI STANDARD

Methods for Testing and Specification (MTS);

ETSI
The Test Description Language (TDL);
Part 4: Structured Test Objective Specification (Extension)

14 © ETSI 2018. All rights reserved


What is TDL?
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

User-defined syntax
<xsd:complexType name="ComponentInstance">
!

<xsd:complexContent> Final draft ETSI ES 203 119-2 V1.3.1 (2018-03)

<xsd:extension base="tdl:Element">
<xsd:choice maxOccurs="unbounded" minOccurs="0">
ETSI STANDARD

TDL P2: GR
TDL P4: TO

TDL P3: XF
<xsd:element name="gateInstance" type="tdl:GateInstan
Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 2: Graphical Syntax

<xsd:element name="variable" type="tdl:Variable"/>


</xsd:choice>
<xsd:attribute name="componentType" type="xsd:anyURI
<xsd:attribute name="role" type="tdl:ComponentInstanceR
</xsd:extension> Final draft ETSI ES 203 119-3 V1.3.1 (2018-03)

</xsd:complexContent>
</xsd:complexType> ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 3: Exchange Format

TDL P1: MM
Final draft ETSI ES 203 119-4 V1.3.1 (2018-03)

ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 4: Structured Test Objective Specification (Extension)

15 © ETSI 2018. All rights reserved


What is TDL?
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

User-defined syntax
!

Final draft ETSI ES 203 119-2 V1.3.1 (2018-03)

ETSI STANDARD

TDL P2: GR
TDL P4: TO

TDL P3: XF
Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 2: Graphical Syntax

<packagedElement xsi:type="tdl:ComponentType" Final draft ETSI ES 203 119-3 V1.3.1 (2018-03)

<gateInstance xmi:id="_qKt24HasEeWrfP0MdfQNp
</packagedElement> ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 3: Exchange Format

TDL P1: MM
Final draft ETSI ES 203 119-4 V1.3.1 (2018-03)

ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 4: Structured Test Objective Specification (Extension)

16 © ETSI 2018. All rights reserved


5.3.1 StructuredTestObjective
2

What is TDL?
6.2 Test Objective
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

Base Standard Specification


6.2.1 StructuredTestObjective ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

User-defined syntax
Identification of Requirements
Concrete Graphical Notation
!

Final draft ETSI ES 203 119-2 V1.3.1 (2018-03)

Creation of ICS/IFS
ETSI STANDARD

TDL P2: GR
TDL P4: TO

TDL P3: XF
Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 2: Graphical Syntax

Definition of TSS

Final draft ETSI ES 203 119-3 V1.3.1 (2018-03)

Specification of Test Purposes


ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 3: Exchange Format

Specification of Test Descriptions

Specification of Test Cases


TDL P1: MM
Final draft ETSI ES 203 119-4 V1.3.1 (2018-03)

ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 4: Structured Test Objective Specification (Extension)

Validation

17 © ETSI 2018. All rights reserved


Figure 5.2: Structured Test O
First steps

• TDL main ingredients


Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

• Test data
• Test configuration ETSI STANDARD

• Test behaviour Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

• Test objectives
• Time

18 © ETSI 2018. All rights reserved


First steps

• TDL main ingredients


Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)
101 Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

Annex B (informative):
Examples of a TDL Concrete Syntax

• Test data
B.1 Introduction
The applicability of the TDL meta-model that is described in the main part of the present document depends on the
availability of TDL concrete syntaxes that implement the meta-model (abstract syntax). Such a TDL concrete syntax
can then be used by end users to write TDL specifications. Though a concrete syntax will be based on the TDL meta-
model, it can implement only parts of the meta-model if certain TDL features are not necessary to handle a user's needs.

This annex illustrates an example of a possible TDL concrete syntax in a textual format that supports all features of the
Final draft ETSI ES 203 119-2 V1.3.1 (2018-03)
• Test configuration
TDL meta-model, called "TDLan". Three examples are outlined below; two examples translated from existing test
descriptions taken from ETSI TS 136 523-1 [i.2] and ETSI TS 186 011-2 [i.3] as well as an example illustrating some
of the TDL data parameterization and mapping concepts. The examples are accompanied by a complete reference
ETSI STANDARD
description of the textual syntax of TDLan given in EBNF.

B.2 A 3GPP Conformance Example in Textual Syntax

• Test behaviour
This example describes one possible way to translate clause 7.1.3.1 from ETSI TS 136 523-1 [i.2] into the proposed
Methods for Testing and Specification (MTS);
TDL textual syntax, by mapping the concepts from the representation in the source document to the corresponding
concepts in the TDL meta-model by means of the proposed textual syntax. The example has been enriched with
The Test Description Language (TDL);
additional information, such as explicit data definitions and test configuration details for completeness where
applicable.
Part 1: Abstract Syntax and Associated Semantics
//Translated from [i.5], Section 7.1.3.
TDLan Specification Layer_2_DL_SCH_Data_Transfer {
//Procedures carried out by a component of a test configuration

• Test objectives
//or an actor during test execution
Action preCondition : "Pre-test Conditions:
RRC Connection Reconfiguration" ;
Action preamble : "Preamble:
ETSI STANDARD
The generic procedure to get UE in test state Loopback
Activated (State 4) according to TS 36.508 clause 4.5
is executed, with all the parameters as specified in the
procedure except that the RLC SDU size is set to return no
data in uplink.
(reference corresponding behavior once implemented" ;

• Time
//User-defined verdicts
//Alternatively the predefined verdicts may be used as well
Type Verdict ;
Verdict PASS; Methods for Testing and Specification (MTS);
Verdict FAIL;
The Test Description Language (TDL);
//User-defined annotation types
Annotation TITLE ; Part 2: Graphical Syntax
//Test description title
Annotation STEP ; //Step identifiers in source documents
Annotation PROCEDURE ; //Informal textual description of a test step
Annotation PRECONDITION ; //Identify pre-condition behaviour
Annotation PREAMBLE ; //Identify preamble behaviour.

//Test objectives (copied verbatim from source document)


Test Objective TP1 {
from : "36523-1-a20_s07_01.doc::7.1.3.1.1 (1)" ;
description : "with { UE in E-UTRA RRC_CONNECTED state }
ensure that {
when { UE receives downlink assignment on the PDCCH
for the UE's C-RNTI and receives data in the
associated subframe and UE performs HARQ
operation }
then { UE sends a HARQ feedback on the HARQ
process }
}" ;
}
Test Objective TP2 {

!
ETSI

19 © ETSI 2018. All rights reserved


First steps

• Test data
• data definition and data use
• abstract types and instances
• composed by using parameters
• functions and actions
• mappable to concrete data
• variables and special values

20 © ETSI 2018. All rights reserved


First steps: Data

Type Login; Test Design


Login correct;
Login incorrect;

Use "data.ttcn3" as DATA ;


Map correct to "johnny_correct" in DATA as correct_ttcn3;
Map incorrect to "johnny_incorrect" in DATA as incorrect_ttcn3;

template Login johnny_correct := { type record Login { Test Implementation


user := "johnny", charstring user,
password := "apple", charstring password,
hint := "seed", charstring hint,
id := 1000 integer id
} } with {
template Login johnny_incorrect := { encode "xpath=//div[@id='login']";
user := "johnny", encode (user) "relative=/div/dd[3]";
password := "orange", encode (password) "relative=/div/dd[4]";
hint := "second favourite fruit", };
id := 2000
}

21 © ETSI 2018. All rights reserved


First steps: Data

Type Login;
Login correct;
Login incorrect;

Use "data.ttcn3" as DATA ;


Map correct to "johnny_correct" in DATA as correct_ttcn3;
Map incorrect to "johnny_incorrect" in DATA as incorrect_ttcn3;

22 © ETSI 2018. All rights reserved


First steps: Data

Type Login;
Login correct;
Login incorrect;

Use "data.ttcn3" as DATA ;


Map correct to "johnny_correct" in DATA as correct_ttcn3;
Map incorrect to "johnny_incorrect" in DATA as incorrect_ttcn3;

23 © ETSI 2018. All rights reserved


First steps

• Test configuration
• typed components and gates
• timers and variables
• connections among gates
• component roles

24 © ETSI 2018. All rights reserved


First steps: Configuration

Gate Type gt accepts Login, Response;

Component Type ct having {


gate g of type gt;
}

Test Configuration tc {
create Tester tester of type ct;
create SUT sut of type ct;
connect tester.g to sut.g;
}

25 © ETSI 2018. All rights reserved


First steps

• Test behaviour
• defines expected behaviour
• failure upon deviations by default
• actions and interactions
• alternative, parallel, iterative, conditional
• defaulting, interrupting, breaking

26 © ETSI 2018. All rights reserved


First steps: Behaviour

Test Description td (p of type Login)


uses configuration tc {
tester.g sends incorrect to sut.g;
alternatively {
sut.g sends failure to tester.g with {
test objectives : tp;
};
set verdict to pass;
} or {
sut.g sends success to tester.g;
set verdict to fail;
}
}

or simply (relying on the default semantics):


Test Description td_default (p of type Login)
uses configuration tc {
tester.g sends incorrect to sut.g;
sut.g sends failure to tester.g with {
test objectives : tp;
};
}

27 © ETSI 2018. All rights reserved


First steps

• Test objectives
• may be attached to
• behaviour (atomic or compound)
• whole test description
• contain description and reference

28 © ETSI 2018. All rights reserved


First steps: Objectives

Test Objective tp {
description : "ensure that
when incorrect login is provided
a failure response is sent";
}
Test Description td (p of type Login)
uses configuration tc {
tester.g sends incorrect to sut.g;
alternatively {
sut.g sends failure to tester.g with {
test objectives : tp;
};
set verdict to pass;
} or {
sut.g sends success to tester.g;
set verdict to fail;
}
}

29 © ETSI 2018. All rights reserved


© ETSI 2018. All rights reserved
First steps

• Structured test objectives


Final draft ETSI ES 203 119-4 V1.3.1 (2018-03)

• based on TPLan
• refine test objectives ETSI STANDARD

• formalise specification Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 4: Structured Test Objective Specification (Extension)

• integrate and unify test 



description and test purpose 

specification

31 © ETSI 2018. All rights reserved


First steps: Structured Objectives

Test Purpose {
TP Id "TP/CAM/INA/DOP/BV/02"
Test objective "Checks that CAM message includes
DoorOpen information 30s after closed"
Reference "TS 102 637-2 [1], clauses 7.1 and 7.2"
PICS Selection PICS_PUBTRANSVEH
Initial conditions
with {
the IUT entity having reached an initial_state
and
the IUT entity having sent a valid CAM message
containing DoorOpen TaggedValue;
}
Expected behaviour
ensure that {
when {
the door entity is closed
}
then {
the IUT entity sends a new CAM message
containing DoorOpen TaggedValue;
}
}
}

32 © ETSI 2018. All rights reserved


What is new in TDL?
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

• Part 1: New features ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

• collections, procedures
!

• local ordering option Final draft ETSI ES 203 119-5 V1.1.1 (2018-03) Final draft ETSI ES 203 119-2 V1.3.1 (2018-03)

ETSI STANDARD ETSI STANDARD

• UML Profile moved to Part 5


Methods for Testing and Specification (MTS); Methods for Testing and Specification (MTS);
The Test Description Language (TDL); The Test Description Language (TDL);
Part 5: UML profile for TDL Part 2: Graphical Syntax

• Part 6: Mapping to TTCN-3 Final draft ETSI ES 203 119-6 V1.1.1 (2018-04) Final draft ETSI ES 203 119-3 V1.3.1 (2018-03)

• compatibility and consistency ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 6: Mapping to TTCN-3 Part 3: Exchange Format

• reuse tools and assets


• Part 7: Extended Configurations Final draft ETSI ES 203 119-7 V1.1.1 (2018-03) Final draft ETSI ES 203 119-4 V1.3.1 (2018-03)

• instantiate existing configurations


ETSI STANDARD ETSI STANDARD

Methods for Testing and Specification (MTS); Methods for Testing and Specification (MTS);
The Test Description Language (TDL); The Test Description Language (TDL);
Part 7: Extended Test Configurations Part 4: Structured Test Objective Specification (Extension)

• reuse and extend


33 © ETSI 2018. All rights reserved
What is new in TDL?
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

Test Configuration
compositeTC ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

Test Configuration
source:defaultTC
!

Final draft ETSI ES 203 119-5 V1.1.1 (2018-03) Final draft ETSI ES 203 119-2 V1.3.1 (2018-03)

TESTER SUT ETSI STANDARD ETSI STANDARD

SS:defaultCT g g UE:defaultCT Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 5: UML profile for TDL Part 2: Graphical Syntax

Final draft ETSI ES 203 119-6 V1.1.1 (2018-04) Final draft ETSI ES 203 119-3 V1.3.1 (2018-03)

TESTER Final draft ETSI ES 203 119-7 V1.1.1 (2018-03)


Bridge:defaultCT g
ETSI STANDARD ETSI STANDARD

Methods for Testing and Specification (MTS); Methods for Testing and Specification (MTS);
The Test Description Language (TDL); The Test Description Language (TDL);
Part 6: Mapping to TTCN-3 Part 3: Exchange Format

ETSI STANDARD

Test Configuration Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
target:defaultTC Part 7: Extended Test Configurations

Final draft ETSI ES 203 119-4 V1.3.1 (2018-03)

ETSI STANDARD

TESTER SUT Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 4: Structured Test Objective Specification (Extension)

SS:defaultCT g g UE:defaultCT

34 © ETSI 2018. All rights reserved


Mapping TDL to TTCN-3
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

• Establish a connection between ETSI STANDARD

Methods for Testing and Specification (MTS);


The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

TDL and TTCN-3


!

• generation of executable tests Final draft ETSI ES 203 119-5 V1.1.1 (2018-03) Final draft ETSI ES 203 119-2 V1.3.1 (2018-03)

from test descriptions


ETSI STANDARD ETSI STANDARD

Methods for Testing and Specification (MTS); Methods for Testing and Specification (MTS);
The Test Description Language (TDL); The Test Description Language (TDL);
Part 5: UML profile for TDL Part 2: Graphical Syntax

• standardised, ensuring
compatibility and consistency
Final draft ETSI ES 203 119-3 V1.3.1 (2018-03)
Final draft ETSI ES 203 119-6 V1.1.1 (2018-04)

ETSI STANDARD

• re-use existing tools and


Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 3: Exchange Format

ETSI STANDARD

frameworks for test execution Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 6: Mapping to TTCN-3

Final draft ETSI ES 203 119-7 V1.1.1 (2018-03) Final draft ETSI ES 203 119-4 V1.3.1 (2018-03)

• re-use existing TTCN-3 assets ETSI STANDARD ETSI STANDARD

(data, behaviour)
Methods for Testing and Specification (MTS); Methods for Testing and Specification (MTS);
The Test Description Language (TDL); The Test Description Language (TDL);
Part 7: Extended Test Configurations Part 4: Structured Test Objective Specification (Extension)

35 © ETSI 2018. All rights reserved


MBT Workflow Manual Workflow

System Requirements Specification Requirements Level

Model TPLan TDL-TO

Test Generator Test Design Level

TDL
Final draft ETSI ES 203 119-6 V1.1.1 (2018-04)

ETSI STANDARD

Methods for Testing and Specification (MTS);

Test Code Generator


The Test Description Language (TDL);

ES 203 119-6
Part 6: Mapping to TTCN-3

TTCN-3 Test Implementation Level

Adaptation

Executable Tests Test Execution Level

36 © ETSI 2018. All rights reserved


The TDL Open Source Project

• New technology, growing rapidly


• TDL open source project for essential tool support
• lower barrier to entry, accelerate adoption
• commercial tool support not yet available
• Custom tools can be put together in a matter of hours
• basic yet capable
• make early adoption easier
• Advanced solutions still require additional effort
• not immediately necessary to get started with using TDL

37 © ETSI 2018. All rights reserved


The TDL Open Source Project

• Meta-model implementation and validation (Part 1)


• Textual editors (Annex B of Parts 1 and 4)
• Graphical editor (Part 2)
• Translation between representations (Part 3)
• TTCN-3 generation (Part 6, currently ongoing)

38 © ETSI 2018. All rights reserved


The TDL Open Source Project

39 © ETSI 2018. All rights reserved


The TDL Open Source Project

DEMO

40 © ETSI 2018. All rights reserved


Summary

What is TDL?
First steps
• Test Description Language
Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)

• TDL main ingredients


Final draft ETSI ES 203 119-1 V1.4.1 (2018-03)
• Design, documentation, and
representation of formalised test ETSI STANDARD • Test data
descriptions Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
• Test configuration ETSI STANDARD

Part 1: Abstract Syntax and Associated Semantics

• Scenario-based approach • Test behaviour Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 1: Abstract Syntax and Associated Semantics

• Standardised at ETSI by TC MTS • Test objectives


• STF 454 (2013) • Time
• STF 476 (2014)
• STF 492 (2015-2016) The TDL Open Source Project
!

• STF 522 (2017)

X © ETSI 2018. All rights reserved

X © ETSI 2018. All rights reserved

X © ETSI 2017. All rights reserved

41 tdl.etsi.org © ETSI 2018. All rights reserved

Das könnte Ihnen auch gefallen