An Integrated Test Framework to Reduce Embedded Software Lifecycle Costs

Similar documents
A number of optimizations are already in use by the majority of companies in industry, notably:

Deliver robust products at reduced cost by linking model-driven software testing to quality management.

Software-Defined Test Fundamentals. Understanding the Architecture of Modular, High-Performance Test Systems

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

Test requirements in networked systems

Cloud Computing: Making the Right Choice for Your Organization

Integration With the Business Modeler

Volvo Car Group Jonn Lantz Agile by Models

THE BENEFITS OF MODEL-BASED ENGINEERING IN PRODUCT DEVELOPMENT FROM PCB TO SYSTEMS MENTOR GRAPHICS

What s new in ASAM AE HIL API V1.0.0?

Moving from a Paper to Paperless validation effort and how to get the most efficient mix of Manual vs. Automated testing.

FOUR INDEPENDENT TOOLS TO MANAGE COMPLEXITY INHERENT TO DEVELOPING STATE OF THE ART SYSTEMS. DEVELOPER SPECIFIER TESTER

Part II. Integration Use Cases

IBM Rational Software Architect

Fast Track Model Based Design and Development with Oracle9i Designer. An Oracle White Paper August 2002

Model Driven Architecture and Rhapsody

Automatic Code Generation Technology Adoption Lessons Learned from Commercial Vehicle Case Studies

Fending Off Cyber Attacks Hardening ECUs by Fuzz Testing

Contemporary Design. Traditional Hardware Design. Traditional Hardware Design. HDL Based Hardware Design User Inputs. Requirements.

AUTOSAR: from concept to code.

Analysis, Modeling, and Design (AMD) Tools Software Market Strategies, Market Opportunities, and Market Forecasts, 2001 to 2006

Total Cost of Ownership: Benefits of ECM in the OpenText Cloud

The 7 Habits of Highly Effective API and Service Management

Total Cost of Ownership: Benefits of the OpenText Cloud

Improved Database Development using SQL Compare

Electrical engineering. data management. A practical foundation for a true mechatronic data model

Getting a Quick Start with RUP

PERSPECTIVE. End-to-end test automation A behaviordriven and tool-agnostic approach. Abstract

DESIGN HELPED A MAJOR AND HIGHER SOFTWARE CUSTOMER SUCCESS STORY ABOUT THE CLIENT

White Paper. Rose PowerBuilder Link

Introduction to Control Systems Design

Seven Decision Points When Considering Containers

Information Security and Service Management. Security and Risk Management ISSM and ITIL/ITSM Interrelationship

SYSPRO s Fluid Interface Design

Coding and Unit Testing! The Coding Phase! Coding vs. Code! Coding! Overall Coding Language Trends!

Testing and Validation of Simulink Models with Reactis

The Need for a Holistic Automation Solution to Overcome the Pitfalls in Test Automation

Verification, Validation, and Test with Model-Based Design

Virtualization of Heterogeneous Electronic Control Units Testing and Validating Car2X Communication

Recalling the definition of design as set of models let's consider the modeling of some real software.

Topics. Software Process. Agile. Requirements. Basic Design. Modular Design. Design Patterns. Testing. Quality. Refactoring.

IOT IN THE AUTOMOTIVE INDUSTRY

Model-Based Design for High Integrity Software Development Mike Anthony Senior Application Engineer The MathWorks, Inc.

Certified Automotive Software Tester Sample Exam Paper Syllabus Version 2.0

Discover the all-flash storage company for the on-demand world

SCOS-2000 Technical Note

A Structured Approach for Efficient Model-Based Testing in Large IT Projects

FREQUENTLY ASKED QUESTIONS

Keeping the lid on storage

The requirements engineering process

TOPLink for WebLogic. Whitepaper. The Challenge: The Solution:

Test Automation Practice STC 2012

SOFTWARE LIFE-CYCLE MODELS 2.1

Mediterranean Nautilus Greece S.A. Cloud Solutions

RUP for Systems Z and other Legacy Systems

Testing! Prof. Leon Osterweil! CS 520/620! Spring 2013!

Accelerating the Business Value of Virtualization

GETTING STARTED WITH THE SIG 2014: A RESPONDENT S GUIDE By Shared Assessments

Chapter 6 Architectural Design. Chapter 6 Architectural design

CA Test Data Manager Key Scenarios

Rigorously Test Composite Applications Faster With CA Test Data Manager and CA Agile Requirements Designer

Rational Software White paper

Experiences with AUTOSAR compliant Autocode generation using TargetLink

Automated Testing of Tableau Dashboards

Minsoo Ryu. College of Information and Communications Hanyang University.

Discover, Relate, Model, and Integrate Data Assets with Rational Data Architect

Benefits of SD-WAN to the Distributed Enterprise

AN OPEN-SOURCE VHDL IP LIBRARY WITH PLUG&PLAY CONFIGURATION

ISO compliant verification of functional requirements in the model-based software development process

NTAF IN PRACTICE. White Paper

Nominee: Prefabricated, Pre Assembled Data Centre Modules by Schneider Electric

I D C T E C H N O L O G Y S P O T L I G H T

A Practitioner s Approach to Successfully Implementing Service Virtualization

Combining Different Business Rules Technologies:A Rationalization

COMPTIA CLO-001 EXAM QUESTIONS & ANSWERS

Implementing IBM CICS JSON Web Services for Mobile Applications IBM Redbooks Solution Guide

Dell helps you simplify IT

a white paper from Corel Corporation

Automated Testing of Infotainment Systems

Business Rules Extracted from Code

IRQA General Information:

Software Engineering

ITM DEVELOPMENT (ITMD)

Ideation for Telematics, Highly Automated Driving Armin Rupalla

Chapter 6 Architectural Design. Lecture 1. Chapter 6 Architectural design

Making hybrid IT simple with Capgemini and Microsoft Azure Stack

Why should we think about multiple tools? Requirements or how to choose the right tool?

By V-cubed Solutions, Inc. Page1. All rights reserved by V-cubed Solutions, Inc.

BITX. The M2M application development ecosystem. m2mdataexchange. An introduction

Avoid a DCIM Procurement Disaster

Wipro s Endur Test Automation Framework (W-ETAF) Reduces time and effort for the implementation and maintenance of an automated test solution.

System development, design & implementation

ASSURING DATA INTEROPERABILITY THROUGH THE USE OF FORMAL MODELS OF VISA PAYMENT MESSAGES (Category: Practice-Oriented Paper)

Lecture 1. Chapter 6 Architectural design

DOMAIN ENGINEERING OF COMPONENTS

Rethinking VDI: The Role of Client-Hosted Virtual Desktops. White Paper Virtual Computer, Inc. All Rights Reserved.

Database Design Tool Magic Quadrant 2H02

PTC Employs Its Own Arbortext Software to Improve Delivery of PTC University Learning Content Materials

SOLUTION BRIEF Virtual CISO

ISO Compliant Automatic Requirements-Based Testing for TargetLink

Transcription:

White Paper An Integrated Test Framework to Reduce Embedded Software Lifecycle Costs Version 1.0: August 23, 2012 Presented by: Chris Domin, Business Dev. Mgr. Engineering Services, sales@danlawinc.com Copyright: Danlaw, Inc.

White Paper An Integrated Test Framework to Reduce Embedded Software Lifecycle Costs Abstract Mechatronics products contain significant amounts of software. Most advances in embedded software development focus on specific phases of the development process. However, very little emphasis has been placed on maximizing reuse of artifacts across the life cycle. This paper explores the potential of reducing overall costs of developing and testing mechatronics software by systematically increasing efficiencies. Introduction Automotive organizations are aggressively searching for ways to increase test coverage and overall quality of the final product, while reducing the cost of capital and labor for production grade mechatronics software. Partial solutions have been developed over time, moving most software organizations towards model based methods for developing of algorithms and software for controls applications. A robust, process centric solution that fully utilizes the benefits of complete reuse, has not been widely deployed across the OEM and supplier network. Current Best Practices The traditional development process is generally based on using the well known V process (see Figure 1). Model based tools have increased the efficiency of design and development by providing an economy of expression and standardized notations. In addition, the practice of applying continuous integration techniques (simulation and testing) to iteratively explore, design and refine implementations within a particular phase of development has reduced life cycle costs. Define Requirements Synthesis Define Algorithms Synthesis Productionize Software Test Cycle Bench White box Figure 1- V Process HIL Vehicle System HIL Subsystem Black-box However, significant opportunities exist that will continue to help reduce life cycle costs by focusing on testing as an integrated process. Significant gains are made as a result of increasing human efficiency, automation of repeatable tasks and leverage of artifacts. A number of optimizations are already in use by the majority of companies in industry, notably: 1. Using simulation models to express executable behavior as use cases. 2. Using co simulation to validate system behavior. 3. Iteratively refining modeled behavior as requirements are validated. 4. Using automatically generated code from the simulation models to execute on rapid prototyping hardware. 5. Using automatically generated code for on target applications. 6. Graphically expressing test stimuli for increased human efficiency. 7. Using scripts to automate testing efforts. While these approaches have reduced development costs for organizations, significant opportunities still exist for cost reductions in the complete product life cycle. DANLAW, INC. PAGE 2

Life Cycle Efficiency Providing efficient point solutions for parts of the development process does not necessarily create an optimized V Process. However, combining that approach with avoiding statistical loss functions, creates a more efficient process. The easiest way to reduce loss is to validate functionality and verify quality as early in the life cycle as possible, as well as reusing test cases throughout the life cycle. It is well substantiated that continuous integration (concurrent testing) provides the most cost efficient method of producing mechatronics software. Engineers test what they develop throughout the development process. They validate requirements and verify design of data flow models, state driven models, UML models, vehicle simulation models, C/C++ code, breadboards, ECU s, sub systems, networks, complete virtual vehicles, hybrid systems (part virtual, part real), environmental robustness, EOL, etc. To date, tool suppliers have addressed the individual phases of the development process and provide a choice of products for each phase of development. However, the methods used to validate and verify the artifacts during each phase are particular to each vendor. There is not a consistent integrated approach that optimizes for labor costs when transferring test cases and test data between tools or phases of development. See the table in Figure 2. Representative tool vendors who have deployed state of the industry products are examined for their ability to directly interchange test information such as test stimuli, pass/fail criteria and test results. Each development and test tool has its own execution environment, with interfaces that support scripts and/or application programming interfaces. The services each tool provides are, for all intents and purposes, unique to the tool itself. The consequence is that the tools are well coordinated with each other and tend to take on a life of their own, due to the organization structure that supports them. The unfortunate outcome is the overall process is not optimized for cost or schedule. Examining the tool interfaces further, one realizes that some tools import and export test data as comma separated values (CSV). While CSV provides connectivity to the tool, it neither describes the syntax of the data, nor the semantics associated with the test cases. Representative Tool Areas HIL Test Unit Test Modeling Note: Table is representative only and is not intended to endorse any tool listed or discredit any tool not listed. Interfaces Exec Data Info COM Automation API Script CSV/Excel Proprietary XML Proprietary Representative Tool Vendors Aonix ARTiSAN Excel Software IBM-Telelogic IBM-Rational Mathworks Microsoft IBM-Rational IPL LDRA Nunit ParaSoft Tessy VectorCast add2 Agilent dspace ETAS National Instruments Opal-RT Vector Figure 2 - Interface Complexities Many tools allow import and export of test data and results in XML format. This is superior to CSV and allows syntax and partial semantics to be understood: that is, the interface exchanges information DANLAW, INC. PAGE 3

(meaning) rather than data. Some automotive OEMs have invested in programs to standardize information exchange in XML. Some have even chosen to build the Integrated Test Framework in house. Therefore, as a stop gap measure, many organizations increase their tool cohesion by adopting a datadriven approach to test, with MS Excel as the repository for test data. By opting for data driven, as opposed to language based approach to test, a step is taken in the right direction, but MS Excel is certainly not the optimal data driven enterprise solution for testing. Based on Figure 2, it is clear that there is a lack of portability of test information between development tools. The result is, no matter how good the individual products are, it is still desirable to have a structure that supports a more cohesive test strategy because test data are created, captured and analyzed in many different environments. This lack of cohesion disrupts how an organization operates by requiring specialists in each tool area. In addition, the artifacts produced during different phases of development cannot be leveraged by the organization. Transforming the Legacy Environment into an Optimal One A desirable approach is one that is focused on maximizing continuous integration and leveraging the V&V artifacts across the complete development cycle. The intent is to hide platform specific behavior and provide information that the organization needs to see. This could result in a reduction of labor costs ranging from 25% to 50%. Formal Notation promotes communication and reuse A simple definition for testing is: Predict what the system should do Stimulate the system and observe the response Measure and compare the response to the prediction In and effort to define what these tests look like, the engineer creates a model of the test in terms of its logical inputs, outputs and timing, commonly called a test vector. Traditionally, when the engineer wants to execute the test, hardware and tool dependencies are intertwined with the test vector and that distorts the model. This mix of domainspecific information and essential test behavior makes it more difficult to communicate what is happening to other engineers, managers, and groups and greatly diminishes the potential for portability and reuse. Logical Behavior Model Test Data Test Results Modeled Interface Transfer Function Test System Interface Stimuli Responses Figure 3- Simplified Test Model Device or System Under Test It is desirable for tests to be formally represented with a logical behavior model, where stimuli and responses are characterized in standard engineering units. This allows the most compact form for specifying tests and pass/fail behavior. The interface from test system to the modeling tool, software or hardware test environment is characterized by a transfer function to keep the physical mapping characteristics independent from the actual tests themselves. This compact form allows hardware and software independence of tests from the actual implementation (simulation models, software algorithms, and HIL test equipment.) The benefit to the organization is the tests are represented by a commonly DANLAW, INC. PAGE 4

understood notation. As a result, overhead costs for communicating and interpreting information are reduced by 75 90%. The Solution The Integrated Test Framework Upon further review of Figure 2 above, it should be clear that all the commercial tools have strengths for their primary purpose (execute a model, stimulate with high time resolution, measure with high precision, handle loads, or many i/o). Many seem to handle data flows of input and output test data. If these flows intersected, and an appropriate technology is chosen for the sources and sinks for these test data, the basis for an Integrated Test Framework is formed. An idealized Integrated Test Framework (see Figure 4) supports the optimization and improvements to existing test frameworks by minimizing cycle time through the V Process. Figure 4 - Integrated Test Framework Optimizations of the Integrated Test Framework The integrated test network provides a marked improvement over typical development and testing environments, via the following: The ability to choose best of breed tools across the development process, from modeling tools to HIL testers. Economies of effort in being able to move test data and artifacts freely across the life cycle. The organization can plan on executing the exact same test cases on a simulation or virtual subsystem as on the actual electronic subsystem. The efficiencies of having a whole organization create tests, determine pass or fail disposition, and provide reports in exactly the same manner. The consistency of communication shortens meetings and review cycles. The security of having test data in an implementation independent, translatable format (XML), so that faster, cheaper products are taken advantage of as they become available. The test data are not hidden and locked with the structure of some scripting language. The re use of test data from program to program. Since test data are abstracted from the execution environment, they are now closely coupled to requirements. Test data only change with requirements, not with test equipment. Enhancing the requirements documentation with logical behavior models (test data) to represent use case diagram. These are automatically executed by the Integrated Test Framework on the system under development in order to verify compliance. Eliminating the need to purchase test front ends that are offered with many other test/development environments (e.g., TestDirector, Signal Builder, AutomationDesk, LabVIEW, CANoe, etc.). The time savings realized on international projects where communication of test data, pass/fail criteria and results is an order of magnitude more efficient due to their graphical presentation. The ability to send development and testing to low cost centers where modeling, coding and testing is performed by a supplier or other outsourced provider. The resulting software and test DANLAW, INC. PAGE 5

data scenario results are sent back to the consumer s organization where the artifacts are fully leveraged. An easy method for adding virtual prototypes for customer validation early in the design cycle. The virtual prototypes are supported through standard human machine interfaces (e.g., GL Studio, Altia, Active X panels, etc.). User defined features (such as custom reports, custom test editing capabilities, specialized pass/fail algorithms, etc.) that benefit the engineers throughout the whole testing lifecycle. Conclusion The first step to reducing mechatronics life cycle costs through the test environment is realized by separating test data (stimuli, pass/fail criteria) from the interface to the device under test. Storing test data and test scenarios in a universally understood format allows that information to be leveraged across the whole development cycle. The Integrated Test Framework will allow complete automation and reporting of test results. It will also allow developers to focus on feature implementation, rather than manually retesting features that should just work. Lastly, the Integrated Test Framework promotes concurrent testing during development, regardless of the tools used to model, develop, or unit test the implementation, and it provides the most benefit to the organization. Company profile Danlaw's 300+ engineering professionals have been providing automotive embedded electronics solutions to OEM's and its Tier 1 supply base for over three decades. Danlaw has facilities in the USA, India and China. Its specialty areas include embedded systems development and testing for Embedded Control Units (ECUs), vehicle network communications, infotainment, and telematics. Its customers include Automotive OEMs, automotive electronics suppliers, fleet and automotive insurance companies worldwide. DANLAW, INC. PAGE 6