1 / 12

Zhen Ru Dai 1 , Jens Grabowski 2 , Helmut Neukirchen 1

Zhen Ru Dai 1 , Jens Grabowski 2 , Helmut Neukirchen 1. T IMED TTCN-3 Based Graphical Real-Time Test Specification. 1 Institute for Telematics · University of Lübeck · Germany 2 Institute for Informatics · University of Göttingen · Germany. TTCN-3. TTCN-3. T IMED. T IMED. TTCN-3.

khoi
Télécharger la présentation

Zhen Ru Dai 1 , Jens Grabowski 2 , Helmut Neukirchen 1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Zhen Ru Dai1, Jens Grabowski2,Helmut Neukirchen1 TIMEDTTCN-3 Based Graphical Real-Time Test Specification 1Institute for Telematics · University of Lübeck · Germany2Institute for Informatics · University of Göttingen · Germany

  2. TTCN-3 TTCN-3 TIMED TIMED TTCN-3 TIMED Test purpose MSC mapping TIMEDGFT generate Test purpose MSC mapping TIMEDGFT generate • Instrument functional testcases to generate timestamps, • Execute testcase, • Apply evaluation functions to the generated timestamps, • Assign a test verdict. Presented at Testcom 2002 (Submitted for standardisation.) Outline & Introduction Test behaviour TTCN-3 mapping GFT Core notation Presentation format

  3. TIMEDTTCN-3=TTCN-3+Time Extensions • Absolute time in form of local clocks • read (self.now), wait (resume) • Timezones • specification of clock synchronised test components • Logfile • log, sort, retrieve of structured data • Conf-Verdict • passconfinconcfail

  4. Test purpose MSC generate Test Case Generation Test behaviour mapping TTCN-3 TIMEDGFT TIMED Core notation Presentation format

  5. Generating TIMEDTTCN-3 from MSC • Pure functional test cases: Proven approach and implemented by TTCN-2 tools, e.g.: • Autolink (Telelogic) • ptk (Motorola) • New: generating TIMEDTTCN-3test cases. • Possible, because MSC allows to attach time constraints to events.

  6. Test Purpose Example

  7. Generated TIMEDTTCN-3 Testcase testcase InresRTexample() runs on inres {var default dflt:=activate(OtherwiseFail);varfloat sendTime1:=-1.0;varinteger iterator1:=0;for (iterator1:=0; iterator1<100; iterator1:=iterator1+1) {if (sendTime1==-1.0) { sendTime1:=self.now+0.01; }else {resume(sendTime1); sendTime1:=sendTime1+0.01; }log(TimestampType:{self.now,"IDATreq1"}); ISAP.send(IDATreq:{"data"}); MSAP.receive(MDATind:{DT,number,"data"});log(TimestampType:{self.now,"MDATind2"}); MSAP.send(MDATreq:{AK,number}); }deactivate(dflt);setverdict(pass);stop;}

  8. Test purpose Test purpose MSC MSC generate generate mapping TIMEDGFT • New GFT symbols. • One-to-one mapping betweenTIMEDTTCN-3 core notation and TIMEDGFT. Graphical Test Case Specification Test behaviour TTCN-3 mapping GFT TIMED Core notation Presentation format

  9. TIMEDGFT Example testcase InresRTexample() runs on inres{varfloat sendTime1:=-1.0;varinteger iterator1:=0;for (iterator1:=0; iterator1<100; iterator1:=iterator1+1) {if (sendTime1==-1.0) { sendTime1:=self.now+0.01; }else {resume(sendTime1); sendTime1:=sendTime1+0.01; }log(TimestampType:{self.now,"IDATreq1"}); ISAP.send(IDATreq:{"data"}); MSAP.receive(MDATind:{DT,number,"data"});log(TimestampType:{self.now,"MDATind2"}); MSAP.send(MDATreq:{AK,number}); }setverdict(pass);stop;}

  10. TIMEDGFT: Extensions to GFT TIMEDTTCN-3 TIMEDGFT

  11. Summary and Outlook • Generating TIMEDTTCN-3 from MSC. • TIMEDGFT, a real-time extension for GFT. • Outlook: • Further tool support for TIMEDTTCN-3. • Pattern-based real-time test engineering with TIMEDTTCN-3. • TIMEDTTCN-3 support for testing soft real-time requirements.

  12. Thank you for your attention!Any questions?

More Related