ttcn3 userconf'05 talk

Upload: -

Post on 13-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/26/2019 TTCN3 Userconf'05 Talk

    1/16

    Conformance Testing of MOST based ApplicationsTowards Effective System Testing

    Andr Baresel, Michael Schmidt - DaimlerChrysler AG

    Contact: [email protected]

  • 7/26/2019 TTCN3 Userconf'05 Talk

    2/16

    Overview on the Talk

    Telematics Application: The System Architecture

    Specifying Functional Behaviour

    Graphical Test Specification in Practice

    Hardware in the oop: !ntegration of "evice Emulation

    #sing Graphical ogging:

    the importance of message tracing $ther Application Fields

  • 7/26/2019 TTCN3 Userconf'05 Talk

    3/16

    Telematics Application

    From Users Point of View

    Audio (CD / Radio)

    Telephone

    Naviation

    Video

    !pee"h re"onition

    !hort messain (!#!)

    User interfa"e for $od% ele"troni"

    Appli"ation !pe" Test Devel& Test 'e" oin *ther Appl

  • 7/26/2019 TTCN3 Userconf'05 Talk

    4/16

    Telematics Application

    Ar"hite"ture of Telemati"s Appli"ation

    Networ+ of em$edded devi"es

    ,us s%stem- #*!T. CAN

    Appli"ations implemented$% man% devi"es

    oi"al separation of$ehaviour intoFun"tion,lo"+s

    #ost#ost,us,us

    Appli"ation !pe" Test Devel& Test 'e" oin *ther Appl

  • 7/26/2019 TTCN3 Userconf'05 Talk

    5/16

    Specifying FunctionalBehaviourAn 'ample of one Telemati"sAppli"ation

    Audio Appli"ation

    Devi"es intera"tin

    Audio 0atewa% 1ead Unit #i"rophone CD Chaner

    Switch from Tape to CD

    23 messaes in this use "ase

    intera"tions with other events li+e mo$ile phone

    !how Tunin 4nfo

    Press ,utton.

    !tart Pla%in CD

    Notif% CD Position

    #anae Audio Channels

    Fade Volume

    Appli"ation !pe" Test Devel& Test 'e" oin *ther Appl

  • 7/26/2019 TTCN3 Userconf'05 Talk

    6/16

    Test Case Design &Execution

    Specification%&ased tests 250+ complex MSCs

    Each 'S( descri&esa single scenario

    Specific Test "ata has

    to &e selected

    Parallelism descri&ed &y

    te)tual documentation

    !deas for using State (harts tetual

    tetual

    Appli"ation !pe" Test Devel& Test 'e" oin *ther Appl

  • 7/26/2019 TTCN3 Userconf'05 Talk

    7/16

    Graphical Test Specication

    4n Pra"ti"e

    Test Case Desin on !%stem evel

    Components are ,la"+ ,oes Data 'n"odins $ased on 5#6!pe"

    Timin of #essaes

    Variation in #essae *rderins

    *pen 4ssue-7Di8erent Ports for !%stem Components9 vs&

    7#odelin of parallel Components9

    Appli"ation !pe" Test Devel& Test 'e" oin *ther Appl

  • 7/26/2019 TTCN3 Userconf'05 Talk

    8/16

    Classi:"ation6Tree#ethod

    Test Case Design & Execution

    The Vision- Towards an Automated Test 'nvironment

    #!C ; !tate $ased

    !pe"i:"ations

    ,ehavioral model Test ee"ution

    !%stemati" De:nition of Test Data

    !"ripts

    Appli"ation !pe" Test Devel& Test 'e" oin *ther Appl

  • 7/26/2019 TTCN3 Userconf'05 Talk

    9/16

    Test System

    1ardware 'nvironment

    !UT- 4nterpla% of #*!T devi"es

    Test 1ardware allows !timulation

    Capturin of "ommuni"ation $etween all devi"es

    Appli"ation !pe" Test Devel& Test 'e" oin *ther Appl

  • 7/26/2019 TTCN3 Userconf'05 Talk

    10/16

    Test System

    !oftware Ar"hite"ture

    Optolyzer InterfaceOptolyzer Interface

    OptolyzerOptolyzer

    MOST Optolyzer ControlMOST Optolyzer Control

    verify

    Har!areInterface

    Har!areInterface

    to"cce##S$T

    to"cce##S$T

    TTC%&3

    TTC%&3

    Te#t'(nt)*e

    Te#t'(nt)*e

    Interface

    Interface

    TTC% Te#t Ca#e#TTC% Te#t Ca#e#

    MOST/C"% Me##a+e ,ef)n)t)onMOST/C"% Me##a+e ,ef)n)t)on MOST/C"% Me##a+e -ncoerMOST/C"% Me##a+e -ncoer

    MOST InterfaceMOST Interface

    .CI arte.CI arte OptolyzerOptolyzer

    MOST %etSer)ce#MOST %etSer)ce#

    stimulate /

    simulate

    Or

    virtual

    devices

    'e*ote Te#t '(nt)*e Interface'e*ote Te#t '(nt)*e Interface

    TTCN6< 'e"ution 'nvironment

    C"% InterfaceC"% Interface

    verify &

    simulate

    C"% CarC"% Car

    C"% ,r)erC"% ,r)er

    Appli"ation !pe" Test Devel& Test 'e" oin *ther Appl

  • 7/26/2019 TTCN3 Userconf'05 Talk

    11/16

    ar!"are in the #oop

    4nteration of Devi"e 'mulation

    voi"e

    Virtual

    =e%

    CA$%us

    VirtualCD Chaner

    MOST CAN

    Test !"ripts runnin withvirtual ; eistin Devi"es

    TR4 4mplementation dete"tswhether or not a Devi"e eists

    #essae Veri:"ation or!timulation is used

    Appli"ation !pe" Test Devel& Test 'e" oin *ther Appl

  • 7/26/2019 TTCN3 Userconf'05 Talk

    12/16

    sing Graphical #ogging

    The 4mportan"e of #essae Tra"in

    0oal- Visuali>ation of #essae Passin for Anal%sis andDo"umentation

    Telemati"s Testers wor+ with os of di8erent !our"es.

    Filterin the important information is essential

    Do"umentation and'rror Reportin

    !olution-

    0raphi"al oerProtot%pe usinoer64nterfa"e

    Allows Naviation andFilterin

    Appli"ation !pe" Test Devel& Test 'e" oin *ther Appl

  • 7/26/2019 TTCN3 Userconf'05 Talk

    13/16

    Conclusion

    TTCN6< has $een su""essfull% used to test Telemati"appli"ations

    First steps toward an e?"ient test developmentenvironment

    The usae of 0FN for spe"if%in tests has $eenapproved

    The TR4 allows us to "reate all s"enarios of1ardware in a oop (14)

    4t was eas% to add new 1ardware 4nterfa"es

    A protot%pe of a raphi"al loer has shown theadvantaes of the solution

    Appli"ation !pe" Test Devel& Test 'e" oin *ther Appl

  • 7/26/2019 TTCN3 Userconf'05 Talk

    14/16

    Future Extensions'

    Usin TTNC6< to 'e"ute!tate ,ased Test #odels

    @ait for 'vents on Continue!inals

    Des"ri$e !inal 0eneration

    *ther Aspe"ts

    4nteration with Test #anaementTools

    Roundtrip Testin-From oin to Test Cases

    Appli"ation !pe" Test Devel& Test 'e" oin *ther Appl

  • 7/26/2019 TTCN3 Userconf'05 Talk

    15/16

    (ther Application Fiel!s forTTC$)*

    4n the Automotive Contet

    +eal Time Environments

    motor "ontroller (petrol ; diesel enine)

    ele"troni" ear shiftin. "ar $od% "ontrol(pneumati" sho"+ a$sorption)

    environmental ele"troni"s(e&& window heatin. air "onditionin unit)

    Characterisation of Applications man% "omponents intera"t

    over di8erent networ+s (most. "an. $luetooth)

    overlappin fun"tionalit%

    Real time "onstrains to $e validated

    Appli"ation !pe" Test Devel& Test 'e" oin *ther Appl

  • 7/26/2019 TTCN3 Userconf'05 Talk

    16/16

    (onformance Testing of '$ST &ased ApplicationsTowards Effective System Testing

    Andr Baresel, Michael Schmidt - DaimlerChrysler AGContact: [email protected]