Benefits of Collecting Code Coverage Metrics during HIL/ECU Testing

Similar documents
Automotive Software Security Testing

VectorCAST SP3 and Beyond

VT System Smart HIL Testing

Variants and Traceability as the Challenge

Tools for CAN based networking. On the street, in the air, in the orbit

Putting the dynamic into software security testing

OEM Conformance Tests for CAN FD

Ensuring quality for ADAS applications with a model-based approach

AUTOSAR Software Design with PREEvision

Three Ways to Reduce Product Delivery Risk and to Lower Software Lifecycle Costs

BMS Testing With CANoe

AUTOSAR Method. Webinar

Analysis and Testing of LIN ECUs

AUTOSAR System and Software Design with PREEvision

Virtualization of Heterogeneous Electronic Control Units Testing and Validating Car2X Communication

Concept Manual vteststudio. Version 2.2 English

Automatic validation of diagnostics in ECUs

Efficient testing of ECUs despite Security

Guido Sandmann MathWorks GmbH. Michael Seibt Mentor Graphics GmbH ABSTRACT INTRODUCTION - WORKFLOW OVERVIEW

Tools and Methods for Validation and Verification as requested by ISO26262

Vector Software. Using VectorCAST to Satisfy Software Verification and Validation for ISO W H I T E P A P E R

Minimum CANoe version to execute test units built with a specific version of vteststudio

Experiences with CANoe-based Fault Injection for AUTOSAR

SIMPLIFYING COMPLEX EMBEDDED DEVELOPMENT PROCESSES WITH MBEDDR

Fending Off Cyber Attacks Hardening ECUs by Fuzz Testing

CANoe.Car2x. Product Information

Volvo Car Group Jonn Lantz Agile by Models

1 About this Support Note Introduction Use Loops Use Test Case Lists Example Contacts... 8

An Integrated Test Framework to Reduce Embedded Software Lifecycle Costs

Automotive Security: Challenges and Solutions

What Embedded can learn from IT Testing Techniques. Parasoft Rix Groenboom Mirosław Zielinski

Using Code Coverage to Improve the Reliability of Embedded Software. Whitepaper V

Using VectorCAST/C++ with Test Driven Development. Whitepaper V

CANoe.J1939. Product Information

Testing Operating Systems with RT-Tester

Developing AUTOSAR Compliant Embedded Software Senior Application Engineer Sang-Ho Yoon

Open, Scalable Real-Time Solutions

Testing. ECE/CS 5780/6780: Embedded System Design. Why is testing so hard? Why do testing?

Unit Testing with VectorCAST and AUTOSAR

The Adaptive Platform for Future Use Cases

Test requirements in networked systems

Agenda. > AUTOSAR Overview. AUTOSAR Solution. AUTOSAR on the way

From Signal to Service

Certified Automotive Software Tester Sample Exam Paper Syllabus Version 2.0

Automated testing of embedded systems in medical device development

Automotive Networks Are New Busses and Gateways the Answer or Just Another Challenge? ESWEEK Panel Oct. 3, 2007

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

PREEvision at Porsche (Update 2018)

Testing of the power electronic software with Vector Toolchain

Current and Prospective High-speed Measurement Systems

What s New with the MATLAB and Simulink Product Families. Marta Wilczkowiak & Coorous Mohtadi Application Engineering Group

AUTOSAR stands for AUTomotive Open Systems ARchitecture. Partnership of automotive Car Manufacturers and their Suppliers

Standard Glossary of Terms used in Software Testing. Version 3.2. Advanced Test Automation - Engineer Terms

Verification, Validation, and Test with Model-Based Design

Solutions for. Avionics Networking. CANoe.CANaero. CANalyzer.CANaero ENGLISH

SOFTWARE QUALITY ASSURANCE TOOLS & TECHNOLOGY PROFESSIONAL SERVICES ACADEMY. Feature Brief. Wrapping

Model Based Development and Code Generation for Automotive Embedded Systems. April 26, 2017 Dr. Gergely Pintér, Dr. Máté Kovács thyssenkrupp Steering

Enabling Connectivity with Service Oriented Architectures

How to Integrate E2E in MICROSAR

CERTIFIED. Faster & Cheaper Testing. Develop standards compliant C & C++ faster and cheaper, with Cantata automated unit & integration testing.

Verification and Validation of Models for Embedded Software Development Prashant Hegde MathWorks India Pvt. Ltd.

Model-based the gap from the functional requirements to TestStand test sequences!

Workflow for Control System Design and Implementation

Adaptive AUTOSAR. Ready for Next Generation ECUs V

The CANoe.Ethernet Solution

INTERACTIVE TUTORIALS Version 6.4

vcdmstudio Product Information

Digital Substation Unrestricted Siemens AG 2017 siemens.com/digital-substation

In this Lecture you will Learn: Testing in Software Development Process. What is Software Testing. Static Testing vs.

SCADE. SCADE Suite Tailored for Critical Applications EMBEDDED SOFTWARE

10 th AUTOSAR Open Conference

vflash Vector Webinar V

CANoe/CANalyzer.J1587

CTFL -Automotive Software Tester Sample Exam Paper Syllabus Version 2.0

Enabling safer embedded systems

Orifice Flow Meter

AUTOSAR design flow. Yoon-Jin Kim Application Engineer. July mentor.com/automotive

A specification proposed by JASPAR has been adopted for AUTOSAR.

Experiences with AUTOSAR compliant Autocode generation using TargetLink

Using Cost Effective Distributed HIL for Rapid Prototyping

ID 020C: Hardware-in-Loop: System Testing Without the System

How Security Mechanisms Can Protect Cars Against Hackers. Christoph Dietachmayr, CIS Solution Manager EB USA Techday, Dec.

i-pcgrid Workshop 2014 PG&E Order No. 754 Analysis: Protection

Practical Model-based Testing With Papyrus and RT-Tester

SYNECT

Complex Signal Processing Verification under DO-254 Constraints by François Cerisier, AEDVICES Consulting

정형기법을활용한 AUTOSAR SWC 의구현확인및정적분석

KSAR Support. for. ST s SPC5 32-bit Automotive MCUs

CANape Option Bypassing

CANoe.AFDX. Product Information

Infineon DAP Active Probe

AUTOSAR Diagnostic Extract

Software architecture in ASPICE and Even-André Karlsson

Hardware-In-Loop Test Setup Automation

Automated Trading with MATLAB Stuart Kozola Computational Finance

Overview of Acceptance Tests

Rationalizing Android Development. Philipp Kumar

Adaptive AUTOSAR Extending the Scope of AUTOSAR-based Embedded Software

Software Verification for Low Power, Safety Critical Systems

ENVISION TECHNOLOGY CONFERENCE. Ethernet TSN Overview ANIL N. KUMAR, INTEL PRINCIPAL ENGINEER

Transcription:

Benefits of Collecting Code Coverage Metrics during HIL/ECU Testing Jeffrey Fortin Product Manager VectorCAST V0.1 2018-10-30

Agenda 1. How VectorCAST fits into HIL/ECU Testing 2. Demo 3. Questions and Answers 2

Software System Link to Requirements VectorCAST Manage and Analytics How VectorCAST fits into HIL/ECU Testing Vector Testing Solution Test Tools for all Test Phases System Validation System Integration Test SW Integration Test System validation + code coverage on ECU Change-Based Testing SW integration testing + code coverage on PC CANoe, vteststudio VT System VectorCAST/QA CANoe, vteststudio vvirtualtarget VectorCAST/C++/QA SW Unit Test White-Box testing on host / on target VectorCAST/C++ VectorCAST/RSP SW Implementation Benefits Full support in the development process, from SW unit test to system validation Uniform test management, test automation (CI), result analysis and traceability 3

How VectorCAST fits into HIL/ECU Testing Software Unit Test VectorCAST/C++ (VectorCAST/Ada) Environment to perform software unit and integration tests Automatically generates an executable test harness including test drivers + stubs Instrument software to be tested to collect coverage date for coverage analysis purposes Define test cases to stimulate the functions of the UUT, provide stub results to the UUT and check the expected results Analyze test results and code coverage VectorCAST/RSP Execute test cases in an embedded target or simulator environment Supports 35+ compiler families and hundreds of chip/board/rtos combinations Benefits Provide capabilities for white box testing on the host and on the target 4

How VectorCAST fits into HIL/ECU Testing Software Integration Test CANoe and vvirtualtarget Execute ECU software on simulated environment (PC) Simulate ECU software, e.g. for partly simulated systems Test simulated ECU software, e.g. for integration tests SWC A SWC B SWC C Use CANoe as test execution system, apply all CANoe test and analysis features Design tests with vteststudio RTE / VFB Service-Emulation VectorCAST/QA Environment to perform software system tests (functional tests) Instrument source code of the system for code coverage analysis Analyze code coverage Benefits Enable software integration testing with code coverage on the PC 5

How VectorCAST fits into HIL/ECU Testing System Test CANoe and VT System Real-time execution of tests Quasi industry standard on many test benches Many open interfaces for testing purposes are available Design tests with vteststudio Modular system of interface hardware to access the I/O and bus network lines All necessary functions integrated > I/O and measurement hardware > Relay switches and fault injection > Signal conditioning and signal processing > Dedicated test functions (decade resistor, ) VectorCAST/QA Instrument source code for code coverage analysis of embedded software Allows Change-Based Testing Benefits Get code coverage data during system tests and provide capabilities to perform Change-Based Testing 6

How VectorCAST fits into HIL/ECU Testing VectorCAST and CANoe Complements Each Other System Testing CANoe System Testing CANoe and VectorCAST/QA Unit Testing VectorCAST/C++ ECU I/O (Bus, A/D) ECU I/O (Bus, A/D) Test Driver CANoe is used to perform testing of an ECU via the ECU s external interfaces. Adding VectorCAST/QA exposes the completeness of testing, providing a detailed look on the internal structure of the embedded software. Adding VectorCAST/C++ allows testing of hard-to-reach sections of the application. 7

How VectorCAST fits into HIL/ECU Testing Improve Test Execution Efficiency with Change-Based Testing Instrumented Source Source Code Code Source code traceability Test Cases Do we have to execute all test cases if the source code changes? Code Change Without Change-Based Change-Based Testing Testing Running Code coverage all tests provides take a long traceability time between source Many code and tests test are cases: complicated to run Which source code is covered by which test case Test results are difficult to interpret VectorCAST determines which test cases have been affected by a source code change Only test what has changed to reduce test time, find errors faster and improve testing efficiency 8

How VectorCAST fits into HIL/ECU Testing Support for Continuous Testing (CT) and Continuous Integration (CI) Objective Achieve fast turnaround cycles Find errors as fast as possible Support for parallel/virtualized and headless test execution Automatically identify TCs that have to be executed because: > Code changes > Previous Test Failures > Changed and new requirements > Safety critical requirements > VectorCAST Enterprise Testing Create suites of atomic tests that can be easily run in multiple configurations Support massively parallel testing via CI servers such as Jenkins Support Change-Based Testing to run only the tests affected by code changes CI support already available Start Test COM Script 9 In CANoe via the COM interface In VectorCAST via command line and Python scripting CANoe Test Result

How VectorCAST fits into HIL/ECU Testing Using VectorCAST with CANoe Objective: Provide a detailed look on the internal structure of the embedded software during CANoe system tests Instrument source code of SUT for code coverage with VectorCAST/QA Automatically execute tests with VectorCAST/QA and CANoe, system test cases are created with vteststudio Analyze code coverage with VectorCAST/QA ECU System under Test Functionality on the granularity of test runs already available Tight integration to fully support test case oriented coverage planned 10

Agenda 1. How VectorCAST fits into HIL/ECU Testing 2. Demo 3. Questions and Answers 11

Demo Benefits of Collecting Code Coverage Metrics during HIL/ECU Testing 12

Demo Summary Provide a comprehensive test solution based on well established tools for all kind of industries using and developing embedded systems Enhance system testing with a more detailed look on the software structure including code coverage Combine the strengths of system testing with unit testing, e.g. combine test results for an overall test analysis Provide easy-to-use tools for all testing activities Become the major player for test and validation solutions for embedded software and embedded systems (Automotive, IoT and other industries) Integrate VI s system and function testing portfolio with the code based portfolio of VSW Extend the existing testing solution to increase efficiency increase quality 13

Agenda 1. How VectorCAST fits into HIL/ECU Testing 2. Demo 3. Questions and Answers 14

Questions and Answers Benefits of Collecting Code Coverage Metrics during HIL/ECU Testing?! 15

More Information! Visit our Website for: > News > Products > Demo Software > Support > Workshops > Contact Addresses www.vector.com Author: Jeffrey Fortin Vector 16 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V0.1 2018-10-30