The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT:...

45
1 © Nokia Siemens Networks The ITEA D-MINT project; Overview, results and lessons learnt October 2011 The ITEA D-MINT Project; Overview, Results and Lessons Learnt Dr. Colin Willcock Nokia Siemens Networks October 19 th 2011

Transcript of The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT:...

Page 1: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

1 © Nokia Siemens Networks The ITEA D-MINT project; Overview, results and lessons learnt October 2011

The ITEA D-MINT Project; Overview, Results and Lessons Learnt Dr. Colin Willcock

Nokia Siemens Networks October 19th 2011

Page 2: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

2 © Nokia Siemens Networks Powerpoint – template, gallery and tutorial / August 2009

Presentation Outline

Project Goals

Project Relevance

Project Overview

Project Structure

Industrial Case Studies

Methodologies & Tools

Lessons Learnt

Project Results

Page 3: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

3 © Nokia Siemens Networks

D-MINT: Project Overview

Powerpoint – template, gallery and tutorial / August 2009

Page 4: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

4 © Nokia Siemens Networks

Project Goals

• To develop the methodologies, tools and industrial experience to enable European industry to test more effectively and more efficiently

• To drive the deployment of Model-based testing technology into European industry

Page 5: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

5 © Nokia Siemens Networks

D-MINT: Project Relevance

Powerpoint – template, gallery and tutorial / August 2009

Page 6: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

6 © Nokia Siemens Networks

Project Relevance

¹The Standish Group 2006; The Chaos Report

Software Project Success

0%

20%

40%

60%

80%

100%

1994 1996 1998 2000 2002 2004 2006

Successful Failed Out of time/budget

Number of successful software projects still less

than 1/3¹

Page 7: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

7 © Nokia Siemens Networks

Project Relevance

• The importance of software in product development is increasing

• 40-60% of product development costs goes in testing

•Improving testing will directly impact competitiveness

• In addition we are facing a series of new specific testing challenges

Page 8: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

8 © Nokia Siemens Networks

Project Relevance

0

1000

2000

3000

4000

5000

6000

7000

1994 1995 1996 1997 1998 1999 2000 2001

2G total:

3G total:

total:

Increasing complexity of products

• GSM Specifications 1306

• 3G Specifications 2290

Page 9: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

9 © Nokia Siemens Networks

Project Relevance

• Pressure to shorten time to market

• New systems and services must be available quicker

• How can we reduce testing time?

• Pressure to improve quality

• SW outage average time for Network elements measured in seconds per year

• How can we improve testing quality (and quantify it)

Page 10: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

10 © Nokia Siemens Networks

D-MINT: Project Structure

Powerpoint – template, gallery and tutorial / August 2009

Page 11: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

11 © Nokia Siemens Networks

Project Consortium

The ITEA D-MINT project; Overview, results and lessons learnt October 2011

Page 12: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

12 © Nokia Siemens Networks

D-MINT Project Structure

WP1

Industrial cases and demonstrators

WP2

Model-based testing

principles and methods

WP3

Tools and tool chain

WP

4

Explo

ita

tio

n

WP

5

Dis

se

min

atio

n, sta

nd

ard

isatio

n

an

d t

rain

ing

requirements

specification

evaluations

evaluations

concepts

processes

Page 13: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

13 © Nokia Siemens Networks

Application Areas

Page 14: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

14 © Nokia Siemens Networks

D-MINT: Industrial Case Studies

Powerpoint – template, gallery and tutorial / August 2009

Page 15: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

15 © Nokia Siemens Networks

Daimler Automotive Case Study

Test cases

Daimler-internal TestSpec formalism

Architecture-based approach

Usage-based approach

Covering

• model lines

• test stages

Test execution & evaluation

PROVEtech:TA

As target container for the test cases

Test cases to be executed in HIL test environment

dSpace tools

Daimler focus in D-MINT

Test script generation

Exterior door mirror

Car electronics architecture

Test model

Blinker

Simulink/Stateflow model Requirements

Page 16: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

16 © Nokia Siemens Networks

NSN Telecom Case Study

Test environment for MSS

• SUT: Mobile Switching Server (MSS)

• MSS is responsible for establishing calls and to control the handover of mobiles among different cells

• Models are built and test cases are generated with QTronic tool

Page 17: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

17 © Nokia Siemens Networks

ABB Production Engineering Case Study

SUT

• SUT: soft starter (a device to smoothly start and stop an electrical motor)

• Design models in use: UML use cases and class diagrams

• Test model in use: usage model

• Test model derived from requirements and UML models, then test cases are derived from test model and executed

Page 18: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

18 © Nokia Siemens Networks

ETSI Telecom Case Study

SUT: System of 2 IP Multimedia networks

• SUT: IP Multimedia Subsystem (IMS)

• The case study focuses on the assessment of interoperability of basic services such as basic Voice over IP (VoIP) call and instant messaging between two distinct IMS networks

• Both functional and conformance tests

• UML state charts are used to model the SUT, test cases are derived from this

Page 19: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

19 © Nokia Siemens Networks

Soraluce/Ideko Production Engineering Case Study

• SUT: DIGITMILL mechatronic solution as part of a milling machine

• Focus in this case study is to get a more systematic test process based on model-based testing

• Models in use: several UML diagrams (component, architectural, sequence, state diagrams)

• Test case derivation from UML diagrams

• Demonstrator: DIGITMILL milling solution (used e.g. for manufacturing wind power towers)

SUT: DIGITMILL

Page 20: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

20 © Nokia Siemens Networks

Trimek/Datapixel Production Engineering Case Study

SUT: measuring system

• SUT: Coordinates Measuring Machines (CMM) control software (which is called CDMS) for controlling a measuring system

• Focus: test case derivation from UML models

• Models in use: UML class, sequence, state diagrams

Page 21: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

21 © Nokia Siemens Networks

Eliko City Street Lights Case Study

SUT: Feeder box control unit

Test system architecture

• SUT: Eliko street lighting control system feeder box control unit (FBCU)

• Models for the SUT: UML state charts, produced with tool Poseidon

• Elvior test generator derives test cases from state charts

Page 22: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

22 © Nokia Siemens Networks

Tandberg case study

Test Case

Generator

# include main library

include ../../../apollolib/common/library.ttr

# some definitions

defvar other = testtarget_2

defvar bw = 768

defvar endpoints = $other testtarget

defvar nets = @nets

defvar dirs = @dirs

defvar p2pcalls = ${combine_arrays nets dirs}

inform ## Starting configuration ##

Test.ttr

Test script in TnG

Test

Scheduler

Test

Executor

Test

Resources

ITVM

Idle Connected

Disconnected

saturn snoopy fanta

dial (snoopy)

dial (fanta)

startPresentation()

startPresentation

disconnect()

disconnect()Models used

Test Acrchitecture

• SUT: Video conferencing systems with the support for multiple simultaneous calls and presentations

• Focus: Model-based functional, stress, and robustness testing

• Models in use: UML state machines, sequence diagrams, and profiles such as MARTE and UML Testing Profile

Page 23: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

23 © Nokia Siemens Networks

D-MINT: Methodologies and Tools

Powerpoint – template, gallery and tutorial / August 2009

Page 24: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

24 © Nokia Siemens Networks

D-MINT basic technical idea (automotive example)

D-MINT Test Framework

Test Cases

Model

System under Test

On the basis of models test cases will be derived. Test cases will be used to dynamically check the system under test

Page 25: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

25 © Nokia Siemens Networks

CamelView model

Several technology application domains

Class diagram modelsClass diagram models

Simulink modelsSimulink models

Stateflow modelsStateflow models

Interaction modelsInteraction models

Use case modelsUse case models

Architecture

TPT model

ST test model

D-MINT Test Framework

Test Cases

SUTs Models

Page 26: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

26 © Nokia Siemens Networks

D-MINT Approach

Classical approach

Advanced approach

Design/development models

Requirements

Results of FMEA/Risk Analysis

Test model

Test Cases

Page 27: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

27 © Nokia Siemens Networks

Architecture-Driven Test Design

© Daimler

Features

Functions

Hardware and software components

Technical layout

Test Cases

Page 28: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

28 © Nokia Siemens Networks

NSN Case Study Mapping

Functional requirements in Doors and SysML

UML structure, data and behavior models

Specific server configurations defined in product documentation

(not explicitly tested)

Incorporated in test system design – no explicit model

Addressed in the case study

Page 29: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

29 © Nokia Siemens Networks

Conformiq Qtronic

Modelling Test Generation Test Execution Planning & Mng

Prototype Tool

iXtronics

CAMeL-View

Test Data

Quality

Analyser

(FOKUS)

TTmodeler TT-Workbench

Pattern-Driven

Test Modeler (FOKUS) Test Generator

Simulink/Stateflow

(FOKUS)

Statistical Testing

Framework (IESE) SQS TestWorkflow

D-MINT Tools

Test Analysis

Piketec TPT

iXtronics

CAMeL-View

Elvior Test Generator

Statistical Testing

Framework (IESE)

NetHawk

EAST

Elvior

MessageMagic

Page 30: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

30 © Nokia Siemens Networks

Key Model Based Testing Tools

Finland

Germany

Estonia

France

Spain

Street Lights Control

Manufacturing Equipment

Telecommunication

Production Engineering

Industrial Automation

Automotive

Page 31: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

31 © Nokia Siemens Networks

D-MINT: Project Results

Powerpoint – template, gallery and tutorial / August 2009

Page 32: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

32 © Nokia Siemens Networks

Demonstrators

The ITEA D-MINT project; Overview, results and lessons learnt October 2011

Page 33: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

33 © Nokia Siemens Networks

D-MINT Innovations

1. System-architecture-driven testing

2. Model-based integrated system and test

development

3. Automated test-case refinement in sync

with system model refinements

4. Automated consistency checks of

requirements, models and test cases

5. Statistically controlled model-based test

processes

process #1 #2 #3

Development + Test Process

System Test

Page 34: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

34 © Nokia Siemens Networks

Competitive Comparison Criteria

Comparison Criteria Comments

Test Design Tool

Ease of use For e.g. a simpler notation such as OCL vs. fully blown language such as Java & UML etc.

Execution Ability to execute generated test cases automatically against real SUTs

Scalability Scalability of the tool for large and complex models

Reporting Reporting on coverage, test cases and their linkage to the model

Debugging Ability to debug models and test cases, simulate

Test Case Formats Test cases in many formats from human readable documents to standard languages such as C, C++, Java, TTCN-3 etc.

Integration Requirement Mgmt. Tools

Work with requirement management tools such as DOORS or ability to integrate with such in-house tools

Test Management Tools

Work with test management tools such as HP Quality Centre or ability to integrate with such in-house tools

System Modelling Work modelling tools such as Tau, Rhapsody, Enterprise Architect or ability to integrate with other tools

Eclipse Support Support for Eclipse for seamless working with other testing and development tools such as modelling, requirement management or test management tools

Page 35: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

35 © Nokia Siemens Networks

Competitive Position

0

0,5

1

1,5

2

2,5

3

3,5

4

4,5

5

Ease of Use

Execution

Scalability

Reporting

Debugging

Test Case Formats

Requirement Mgmt. Tools

Integration

Test Management Tools

Integration

System Modelling Integration

Eclipse Support

Reactis Suite

Test Designer

T-VEC RAVE

D-MINT

Page 36: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

36 © Nokia Siemens Networks

Test process improvement measuring

Based on metrics and numbers

Process now Process after integration

of D-MINT MBT

Page 37: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

37 © Nokia Siemens Networks

Overall Case Studies Evaluation Results

The D-MINT case studies have shown that

• adaptation efforts for MBT (initial investments in training, integration in existing test processes,…) are high, but this effort is seen as an one-time activity

• MBT is very benefical for testing activities with several iterations

D-MINT technologies enable

• test cost reduction of at least 15% by automation and efficient test case generation (reduction of time to locate defects as well as test case generation & execution efforts)

• a higher test coverage of at least 10%

• improved handling of increased test complexity by means of systematic appyling (reusable) models (here, the vision of test models instead of test cases is supported)

Page 38: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

38 © Nokia Siemens Networks

Fast Exploitation During the Project

Usage of D-MINT technology by the Transfer Partners

• ELIKO has used D-MINT tools and technology for products that are already delivered and in use in the field

• ABB decided to use D-MINT results for the next version of the Softstarter

• Daimler has decided to use D-MINT technologies for ECU-Software Testing

Tool Vendors who already put their Products on the Market

• iXtronics Toolbox

• Testing Tech TTmodeler

• Conformiq Qtronic

Page 39: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

39 © Nokia Siemens Networks

D-MINT: Lessions Learnt

Powerpoint – template, gallery and tutorial / August 2009

Page 40: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

40 © Nokia Siemens Networks

Lessons Learnt

The ITEA D-MINT project; Overview, results and lessons learnt October 2011

1. MBT can be successfully applied in many industrial domains

2a. Use standardized interfaces

2b. Use open source frameworks

2c. Usability is important

3. Don’t try and reinvent the wheel

2. Be aware and take into account the industrial realities

1a. The initial effort is high, but the payback is worth it

2b. Do not try and change the world overnight

2a. Simple examples are not relevant

Page 41: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

41 © Nokia Siemens Networks

Changing the World

The ITEA D-MINT project; Overview, results and lessons learnt October 2011

Be realistic when trying to develop and deploy new technologies. Whole-scale replacement of toolchains overnight is not the industrial reality

Page 42: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

42 © Nokia Siemens Networks

Usability Matters

The ITEA D-MINT project; Overview, results and lessons learnt October 2011

In an industrial setting usability and stability are not just, nice to have, but deciding factors in any possible future technology selection

Page 43: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

43 © Nokia Siemens Networks

Modelling Test Generation Test Execution Planning & Mng

D-MINT Tools Open Interfaces

Test Analysis

UML

TTCN-3

TCI/TRI

IDL

XSD

ASN.1

Open API

XML

HTML

iXtronics

CAMelView

iXtronics

Testrig

NetHawk

EAST

SQS TestWorkflow

FOKUS MDTester

FOKUS Test Quality

IESE MBST

IESE MBST

Elvior MsgMagic

TestingTech TTworkbench

Abo MATERA

Abo MATERA

VTT RCA

Page 44: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

44 © Nokia Siemens Networks

Modelling Test Generation Test Execution Planning & Mng

D-MINT Tools in Eclipse

Test Analysis

FOKUS MDTester

FOKUS Test Quality

Elvior MsgMagic

TestingTech TTworkbench

Abo MATERA

Abo MATERA

Page 45: The ITEA D-MINT Project; Overview, Results and Lessons Learnt3 © Nokia Siemens Networks D-MINT: Project Overview Powerpoint – template, gallery and tutorial / August 2009

45 © Nokia Siemens Networks

Conclusion

D-MINT has shown 8 case studies in 5 quite different

application domains using a common methodological

framework

By means of the case studies it could be shown

that cost reduction, higher coverage and better test

complexity management is possible by using D-MINT test

technologies

Several D-MINT technologies are already in industrial use

(i.e. fast exploitation was already accomplished during

project run (ABB, Daimler, Eliko))

Experience Package Asset Box and Learning Package

published on D-MINT website www.D-MINT.org