Presentation is loading. Please wait.

Presentation is loading. Please wait.

Conformance Testing of MOST based Applications Towards Effective System Testing André Baresel, Michael Schmidt - DaimlerChrysler AG Contact:

Similar presentations


Presentation on theme: "Conformance Testing of MOST based Applications Towards Effective System Testing André Baresel, Michael Schmidt - DaimlerChrysler AG Contact:"— Presentation transcript:

1 Conformance Testing of MOST based Applications Towards Effective System Testing André Baresel, Michael Schmidt - DaimlerChrysler AG Contact:

2 2 / 15 Overview on the Talk Telematics Application: The System Architecture Specifying Functional Behaviour Graphical Test Specification in Practice Hardware in the Loop: Integration of Device Emulation Using Graphical Logging: the importance of message tracing Other Application Fields

3 3 / 15 Telematics Application From Users Point of View Audio (CD / Radio) Telephone Navigation Video Speech recognition Short messaging (SMS) User interface for body electronic ApplicationSpecTest Devel.Test ExecLoggingOther Appl

4 4 / 15 Telematics Application Architecture of Telematics Application Network of embedded devices Bus system: MOST, CAN Applications implemented by many devices Logical separation of behaviour into FunctionBlocks Most Bus ApplicationSpecTest Devel.Test ExecLoggingOther Appl

5 5 / 15 Specifying Functional Behaviour An Example of one Telematics Application Audio Application Devices interacting * Audio Gateway * Head Unit * Microphone * CD Changer „Switch from Tape to CD“ 15 messages in this use case interactions with other events like mobile phone Show Tuning Info Press Button, Start Playing CD Notify CD Position Manage Audio Channels Fade Volume ApplicationSpecTest Devel.Test ExecLoggingOther Appl

6 6 / 15 Test Case Design & Execution Specification-based tests 250+ complex MSCs Each MSC describes a single scenario Specific Test Data has to be selected Parallelism described by textual documentation Ideas for using State Charts textual ApplicationSpecTest Devel.Test ExecLoggingOther Appl

7 7 / 15 Graphical Test Specification In Practice Test Case Design on System Level Components are Black Boxes Data Encodings based on XML-Spec Timing of Messages Variation in Message Orderings Open Issue: “Different Ports for System Components” vs. “Modeling of parallel Components” ApplicationSpecTest Devel.Test ExecLoggingOther Appl

8 8 / 15 Classification-Tree Method Test Case Design & Execution The Vision: Towards an Automated Test Environment MSC & State based Specifications Behavioral model Test execution Systematic Definition of Test Data Scripts ApplicationSpecTest Devel.Test ExecLoggingOther Appl

9 9 / 15 Test System Hardware Environment SUT: Interplay of MOST devices Test Hardware allows Stimulation Capturing of communication between all devices ApplicationSpecTest Devel.Test ExecLoggingOther Appl

10 10 / 15 Test System Software Architecture Optolyzer Interface Optolyzer MOST Optolyzer Control verify Hardware Interface to Access SUT TTCN-3 Test Runtime Interface TTCN Test Cases MOST/CAN Message Definition MOST/CAN Message Encoder MOST Interface PCI Karte Optolyzer MOST NetServices stimulate / simulate Or virtual devices Remote Test Runtime Interface TTCN-3 Execution Environment CAN Interface verify & simulate CAN Card CAN Driver ApplicationSpecTest Devel.Test ExecLoggingOther Appl

11 11 / 15 Hardware in the Loop Integration of Device Emulation voice Virtual Key CAN bus Virtual CD Changer MOST CAN Test Scripts running with virtual & existing Devices TRI Implementation detects whether or not a Device exists Message Verification or Stimulation* is used ApplicationSpecTest Devel.Test ExecLoggingOther Appl

12 12 / 15 Using Graphical Logging The Importance of Message Tracing Goal: Visualization of Message Passing for Analysis and Documentation Telematics Testers work with Logs of different Sources, Filtering the important information is essential Documentation and Error Reporting Solution: Graphical Logger Prototype using Logger-Interface Allows Navigation and Filtering ApplicationSpecTest Devel.Test ExecLoggingOther Appl

13 13 / 15 Conclusion TTCN-3 has been successfully used to test Telematic applications First steps toward an efficient test development environment The usage of GFN for specifying tests has been approved The TRI allows us to create all scenarios of Hardware in a Loop (HIL) It was easy to add new Hardware Interfaces A prototype of a graphical logger has shown the advantages of the solution ApplicationSpecTest Devel.Test ExecLoggingOther Appl

14 14 / 15 Future Extensions… Using TTNC-3 to Execute State Based Test Models Wait for Events on Continue Signals Describe Signal Generation Other Aspects Integration with Test Management Tools Roundtrip Testing: From Logging to Test Cases ApplicationSpecTest Devel.Test ExecLoggingOther Appl

15 15 / 15 Other Application Fields for TTCN-3 In the Automotive Context Real Time Environments motor controller (petrol & diesel engine) electronic gear shifting, car body control (pneumatic shock absorption) environmental electronics (e.g. window heating, air conditioning unit) Characterisation of Applications many components interact over different networks (most, can, bluetooth) overlapping functionality Real time constrains to be validated ApplicationSpecTest Devel.Test ExecLoggingOther Appl

16 16 / 15 Conformance Testing of MOST based Applications Towards Effective System Testing André Baresel, Michael Schmidt - DaimlerChrysler AG Contact:


Download ppt "Conformance Testing of MOST based Applications Towards Effective System Testing André Baresel, Michael Schmidt - DaimlerChrysler AG Contact:"

Similar presentations


Ads by Google