L04. Model-based Testing: Principles Henry Muccini. Dipartimento di Informatica, Universityof L Aquila

Size: px
Start display at page:

Download "L04. Model-based Testing: Principles Henry Muccini. Dipartimento di Informatica, Universityof L Aquila"

Transcription

1 Università degli Studi dell Aquila L04. Model-based Testing: Principles Henry Muccini Dipartimento di Informatica, Universityof L Aquila henry.muccini@univaq.it

2 Copyright Notice The material in these slides may be freely reproduced and distributed, partially or totally, as far as an explicit reference or acknowledge to the material author is preserved. Henry Muccini

3

4 Agenda Modeling MBT: Why? Models for MBT UML-based Testing Testing activities

5 AGENDA Modeling Model-based testing Why? Models for MBT UML-based Testing

6 Modeling: there is not just programming What is a model: A model is a simplification of the reality The reality is abstracted, since it is too complex Why modeling Models are built for a better understanding of the system under development Everything is a model?!?

7 Non-software Models

8 Specification: What

9 Software Models

10 OtherSoftware Models(Web models)

11 othersoftware models

12 and manyothers Pilot Multifunction Display1 Pilot Multifunction Display2 CoPilot Multifunction Display1 CoPilot Multifunction Display2 Display Processor Display Processor Display Processor Display Processor High speed network High speed network Mission Processor Mission Processor Mission Processor bus bus Auto-Pilot GPS Nav Radio

13 Model Driven Development (MDD) Models are becoming first core assets in Software Engineering/Architecting: models are primary artifactsretained as first class entities that can be analyzed and manipulated by means of automated tools the focus moves from writing and sharing documentsto writing and sharing models.

14 From Document Driven to Model Driven

15 Models in MDD Models in MDD can be used for: Documenting design decisions Guiding the coding phase For analyzingand validatingdesign choices by complementing traditional code-level analysis techniques

16 Why modeling? For Documenting and Analysis

17 What is MBT? It consists in: Extracting Test Cases from the Model Run the test case over the system implementation Purpose: To validate the implementation conformance to the model The model itself is the oracle, i.e., it represents the expected behavior

18 Model-based Testing A model based testing approach accepts two main inputs a model of the software under test, a set of test generation directiveswhich guide the test cases selection and outputs a test specification which includes a set of stimulithe tester should introduce in the system together with expected responses

19 Modeling for testing Essentially, we need (at least) a behavioral modelof the software system: Labelled Transition System StateCharts UML State of Sequence Diagrams IOLTS Finite State Automata

20 The base-line technique for designing test cases Timely Often useful in refining specifications and assessing testability before code is written Effective finds some classes of fault (e.g., missing logic) that can elude other approaches Widely applicable to any description of program behavior serving as spec at any level of granularity from module to system testing. Economical typically less expensive to design and execute than structural (code-based) test cases (C) 2007 MAURO PEZZÈ & MICHAL YOUNG

21 Program code is not necessary Only a description of intended behavior is needed Even incomplete and informal specifications can be used Although precise, complete specifications lead to better test suites Early functional test design has side benefits Often reveals ambiguities and inconsistency in spec Useful for assessing testability And improving test schedule and budget by improving spec Useful explanation of specification or in the extreme case (as in XP), test cases are the spec (C) 2007 MAURO PEZZÈ & MICHAL YOUNG

22 Different testing strategies (functional, structural, fault-based, model-based) are most effective for different classes of faults Functional testing is best for missing logic faults A common problem: Some program logic was simply forgotten Structural (code-based) testing will never focus on code that isn t there! (C) 2007 MAURO PEZZÈ & MICHAL YOUNG

23 Modeling for testing Such a model can be produced: 1. Through a formal specification language Typically referred as formal testing 2. Through a diagrammatic(visual) notation Typically referred as UML-based Testing

24 1. MBT basedon FormalSpecifications Since the 80 s, many specification-based testing approaches have been proposed, based on formal languages such as Z, VDM, CSP, CCS, LOTOS, SDL, and Petri Nets. More recently: Based on dynamic behavior: FSM-based (Bochmann&Petrenko, Lee&Yannakis, ) LTS-based (Brinksma&Tretmans, Jard&Jeron ) Focussing on static aspects, ADT theory (Bernot&Gaudel ) Z-based (Hierons )

25 Formal Specification-based Testing TorX(Côte de Resyste) on-the-fly test generation and execution random LOTOS and Promela TGV(IRISA - Rennes) derives tests in TTCN from LOTOS or SDL uses test purposes TVEDA(CNET - France Telecom) derives TTCN tests from SDL specification

26 2. MBT basedon the UML UML State-machine based testing: which might require the translation of the UML diagrams into an intermediate formal description Scenario-basedtesting: based on the use of opportunely annotated UML Sequence Diagram State-based and Scenario-based: combine the useof interactiondiagramsand state diagram, possibly annotated with further(formal) information (e.g. OCL)

27 Model-based Testing: the overall idea From Leila Naslavsky Advancement report

28 AsmL TESTOR UMLAUT Model-based Testing Approaches UMLTest AGEDIS TOTEM SOOTF COW-SUITE SCENTOR SeDiTeC UCSC-System

29 Main Testing Activities Test Selection/Generation: it consists in selecting a suitable and finite set of test cases from the possibly infinite set; Test Execution and Evaluation: it consists in executing the code accordingly to the selected test cases and comparing real and expected results;

30 Test Selection A test case, in MBT, is typically a possible scenario In scenario-based testing: A scenario itself is an abstract test case In state-based testing Execution flows are extraced from the state machine and represent a test case MB coverage criteriaare applied on this model

31 Test Case Selection Abstract Test case= path over the LTS/FSM, corresponding to sequences of events They are not concrete test cases, but abstract (depending on the specification) Concrete Test cases= mappingasbtract test cases into execution statements to be launched

32 Test Case Selection 1 insd C1 C2 Test directives 1 Model of the system m9 m1 2 outsd1 C1 C2 C3 m9 m3 Test specification m8 m1

33 Test Case Selection

34 Test Execution It consists in running the test cases on the system implementation So to compare the real execution with the expected behavior

35 MBT practical concerns Traceability, i.e. relating the abstract valuesof the specification to the concrete values of the implementation. Execution, i.e. forcing the ImplementationUnder Test (IUT) to execute the specific sequence of events that has been selected.

36 Testing and Industry In ordertobesuitableforindustrial needsa testing approach has to emphasize the following qualities: Usability Not ad-hoc models Timeliness Soonand evenincomplete Tool support Opposed to accuracy Goal of a suitable testing approach should be to improve the test results accuracy without sensibly raising the testing effort

37 MBT Tools There are some automated tools for MBT: Telelogic Tau and Tau Tester Leirios Test Designer Conformiq Qtronic Rhapsody Test Conductor and Automatic Test Generation AGEDIS

38 MBT in industry: challenges and issues As remarked by Alan Hartman in his 2006 speech at ISSTA: Only 1% of industry uses it Why?

39 Why? The main reasons I foresee: Model2Code (and viceversa) traceability problems modeling is notyet so widely recognizedas part of the development process. Legacy systems because of tool/service problems cost/effectiveness is still under exploration

40 Conformiq: Twomodelsare requiredin Input SutModel.Java (in QML) SutModel.xmi(GraphicalNotation)

41 QML Just like Java, QML consists of variables and expressions, all strictly typed and known before the compilation. The types are divided into the same three groups that Java has: primitives, references and values

42 QML QML extends Java with: Records Ports System block State machines

43 SutModelGraphical

44 SutModelGraphical

45 Coverage Figure 5 The Coverage Editor window

46 Test Case Execution Fig 8 Execution of Test Case 1 on the SUT: the figure illustrates the detection of a bug.

Automated model-based test generation and execution

Automated model-based test generation and execution Automated model-based test generation and execution December 2002 Alan Hartman Agenda Project Overview Motivation Methodology Tools Experiments Current Status Project Overview Automated model-based test

More information

V&V: Model-based testing

V&V: Model-based testing V&V: Model-based testing Systems Engineering BSc Course Budapest University of Technology and Economics Department of Measurement and Information Systems Traceability Platform-based systems design Verification

More information

Adaptation of Model Based Testing to Industry

Adaptation of Model Based Testing to Industry Adaptation of Model Based Testing to Industry Alan Hartman IBM Research - Haifa Labs IBM Haifa Labs Agile and Automated Testing Seminar Tampere University of Technology Acknowledgements The Tampere University

More information

An Introduction to MDE

An Introduction to MDE An Introduction to MDE Alfonso Pierantonio Dipartimento di Informatica Università degli Studi dell Aquila alfonso@di.univaq.it. Outline 2 2» Introduction» What is a Model?» Model Driven Engineering Metamodeling

More information

Automated Test Design with TTCN-3

Automated Test Design with TTCN-3 Automated Test Design with TTCN-3 TTCN-3 User Conference Beijing, June 8th 2010 Conformiq Tutorial Copyright Conformiq Inc. and its subsidiaries. All rights reserved. Tuesday, May 11, 2010 1 Conformiq,

More information

Model Based Software Testing GOTCHA-TCBeans AGEDIS

Model Based Software Testing GOTCHA-TCBeans AGEDIS Model Based Software Testing GOTCHA-TCBeans AGEDIS Alan Hartman Kenneth Nagin 06/02 http:\\w3.haifa.il.ibm.com\softwaretesting\gtcb http:\\www.haifa.il.ibm.com\projects\verification\gtcb http:\\www.agedis.de

More information

AST initiative 3 AST principles and goals 4 Model problems 11

AST initiative 3 AST principles and goals 4 Model problems 11 Università degli Studi dell Aquila Henry Muccini Dipartimento di Informatica www.henrymuccini.com University of L Aquila - Italy henry.muccini@di.univaq.it AST 2011, 6th IEEE/ACM ICSE workshop on Automation

More information

Techniques for the unambiguous specification of software

Techniques for the unambiguous specification of software Formal Techniques for the unambiguous of software Objectives To explain why formal techniques help discover problems in system requirements To describe the use of algebraic techniques for interface To

More information

No Source Code. EEC 521: Software Engineering. Specification-Based Testing. Advantages

No Source Code. EEC 521: Software Engineering. Specification-Based Testing. Advantages No Source Code : Software Testing Black-Box Testing Test-Driven Development No access to source code So test cases don t worry about structure Emphasis is only on ensuring that the contract is met Specification-Based

More information

Black Box Testing. EEC 521: Software Engineering. Specification-Based Testing. No Source Code. Software Testing

Black Box Testing. EEC 521: Software Engineering. Specification-Based Testing. No Source Code. Software Testing Black Box Testing EEC 521: Software Engineering Software Testing Black-Box Testing Test-Driven Development Also known as specification-based testing Tester has access only to running code and the specification

More information

Why testing and analysis. Software Testing. A framework for software testing. Outline. Software Qualities. Dependability Properties

Why testing and analysis. Software Testing. A framework for software testing. Outline. Software Qualities. Dependability Properties Why testing and analysis Software Testing Adapted from FSE 98 Tutorial by Michal Young and Mauro Pezze Software is never correct no matter what developing testing technique is used All software must be

More information

Specification and Testing of Banknote Processing Systems with Coloured Petri Nets

Specification and Testing of Banknote Processing Systems with Coloured Petri Nets Specification and Testing of Banknote Processing Systems with Coloured Petri Nets Munich, 06/17/2010 30th TAV Agenda Automated testing in the software development process Motivation for system specifications

More information

Testing Distributed Systems

Testing Distributed Systems Testing Distributed Systems Part I: Introduction to Model-Based Testing 2012-08-01 Jan Peleska and Wen-ling Huang University of Bremen {jp,huang}@informatik.uni-bremen.de Acknowledgements. This seminar

More information

Test Automation. 20 December 2017

Test Automation. 20 December 2017 Test Automation 20 December 2017 The problem of test automation Testing has repetitive components, so automation is justified The problem is cost-benefit evaluation of automation [Kaner] Time for: test

More information

Ten Years of Model Based Testing A Sober Evaluation. Agenda. What is Model Based Testing. What is Model Based Testing. The testing value proposition

Ten Years of Model Based Testing A Sober Evaluation. Agenda. What is Model Based Testing. What is Model Based Testing. The testing value proposition Ten Years of Model Based ing A Sober Evaluation MBT 2006 March 26 2006 Alan Hartman IBM Israel Haifa Research Laboratory Joint work with Kenneth Nagin, Sergey Olvovsky, Andrei Kirshin and others Agenda

More information

Q Body of techniques supported by. R precise mathematics. R powerful analysis tools. Q Rigorous, effective mechanisms for system.

Q Body of techniques supported by. R precise mathematics. R powerful analysis tools. Q Rigorous, effective mechanisms for system. Introduction to Formal Methods 1 Introduction to Formal Methods 2 Formal Specification Requirements specification R notational statement of system services Software specification R formal abstract depiction

More information

TEST DERIVATION AND REUSE USING HORIZONTAL TRANSFORMATION OF SYSTEM MODELS. Jenis Kavadiya

TEST DERIVATION AND REUSE USING HORIZONTAL TRANSFORMATION OF SYSTEM MODELS. Jenis Kavadiya TEST DERIVATION AND REUSE USING HORIZONTAL TRANSFORMATION OF SYSTEM MODELS by Jenis Kavadiya A THESIS Submitted in partial fulfillment of the requirements for the degree MASTER OF SOFTWARE ENGINEERING

More information

Model-Based Testing. Theory Tools Applications SUT. model. Jan Tretmans

Model-Based Testing. Theory Tools Applications SUT. model. Jan Tretmans Model-Based Testing Theory Tools Applications model Jan Tretmans ESI Embedded Systems Innovation by TNO Radboud University Nijmegen Högskolan i Halmstad jan.tretmans@tno.nl pass fail SUT Jan Tretmans Embedded

More information

Model-Based Testing. The Next Step in Test Automation!? Jan Tretmans SUT. model. TorXakis. SUMBAT: SUpersizing. Model.

Model-Based Testing. The Next Step in Test Automation!? Jan Tretmans SUT. model. TorXakis. SUMBAT: SUpersizing. Model. Model-Based Testing The Next Step in Test Automation!? model Jan Tretmans SUMBAT: SUpersizing Model TorXakis BAsed Testing SUT TNO Embedded Systems Innovation Radboud University, Nijmegen pass fail 2 Overview

More information

Learning objectives. Documenting Analysis and Test. Why Produce Quality Documentation? Major categories of documents

Learning objectives. Documenting Analysis and Test. Why Produce Quality Documentation? Major categories of documents Learning objectives Documenting Analysis and Test Understand the purposes and importance of documentation Identify some key quality documents and their relations Understand the structure and content of

More information

Introduction to Software Testing Chapter 2, Sec#: 2.5 Graph Coverage for Specifications

Introduction to Software Testing Chapter 2, Sec#: 2.5 Graph Coverage for Specifications Introduction to Software Testing Chapter 2, Sec#: 2.5 Graph Coverage for Specifications Paul Ammann & Jeff Offutt http://www.cs.gmu.edu/~offutt/softwa retest/ Design Specifications A design specification

More information

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

FOUR INDEPENDENT TOOLS TO MANAGE COMPLEXITY INHERENT TO DEVELOPING STATE OF THE ART SYSTEMS. DEVELOPER SPECIFIER TESTER TELECOM AVIONIC SPACE AUTOMOTIVE SEMICONDUCTOR IOT MEDICAL SPECIFIER DEVELOPER FOUR INDEPENDENT TOOLS TO MANAGE COMPLEXITY INHERENT TO DEVELOPING STATE OF THE ART SYSTEMS. TESTER PragmaDev Studio is a

More information

ICSE MET 17 Keynote. Metamorphic Testing: Beyond Testing Numerical Computations

ICSE MET 17 Keynote. Metamorphic Testing: Beyond Testing Numerical Computations ICSE MET 17 Keynote Metamorphic Testing: Beyond Testing Numerical Computations Dr. Zhi Quan (George) Zhou Associate Professor University of Wollongong Australia zhiquan@uow.edu.au 1 Why this topic? Observation:

More information

Software Applications What Are they? enterprise software accounting software office suites graphics software media players Databases Graphical user

Software Applications What Are they? enterprise software accounting software office suites graphics software media players Databases Graphical user An Overview Software Applications What Are they? enterprise software accounting software office suites graphics software media players Databases Graphical user interfaces Web applications or applications

More information

Hardware/Software Co-design

Hardware/Software Co-design Hardware/Software Co-design Zebo Peng, Department of Computer and Information Science (IDA) Linköping University Course page: http://www.ida.liu.se/~petel/codesign/ 1 of 52 Lecture 1/2: Outline : an Introduction

More information

Formal Foundations of Software Engineering

Formal Foundations of Software Engineering Formal Foundations of Software Engineering http://d3s.mff.cuni.cz Martin Nečaský Pavel Parízek CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics Goals of the course Show methods and tools

More information

A scenario-based test approach for testing reactive concurrent systems

A scenario-based test approach for testing reactive concurrent systems Corporate Technology A scenario-based test approach for testing reactive concurrent systems Andreas Ulrich Siemens AG, Corporate Technology München, Germany ETSI MBT User Conference 2011 October 18 20,

More information

MONIKA HEINER.

MONIKA HEINER. LESSON 1 testing, intro 1 / 25 SOFTWARE TESTING - STATE OF THE ART, METHODS, AND LIMITATIONS MONIKA HEINER monika.heiner@b-tu.de http://www.informatik.tu-cottbus.de PRELIMINARIES testing, intro 2 / 25

More information

COMMUNICATION PROTOCOL ENGINEERING

COMMUNICATION PROTOCOL ENGINEERING COMMUNICATION PROTOCOL ENGINEERING COMMUNICATION PROTOCOL ENGINEERING SECOND EDITION PALLAPA VENKATARAM Professor Department of Electrical Communication Engineering Indian Institute of Science Bangalore

More information

Modeling Issues Modeling Enterprises. Modeling

Modeling Issues Modeling Enterprises. Modeling Modeling Issues Modeling Enterprises SE502: Software Requirements Engineering Modeling Modeling can guide elicitation: It can help you figure out what questions to ask It can help to surface hidden requirements

More information

From Manual Testing to Intelligent Test Automation Presented by Stephan Schulz

From Manual Testing to Intelligent Test Automation Presented by Stephan Schulz From Manual Testing to Intelligent Test Automation Presented by Stephan Schulz From Manual Testing to Intelligent Test Automation Where Are We Today? Evolution of Software Testing From Manual Testing to

More information

Selection of UML Models for Test Case Generation: A Discussion on Techniques to Generate Test Cases

Selection of UML Models for Test Case Generation: A Discussion on Techniques to Generate Test Cases St. Cloud State University therepository at St. Cloud State Culminating Projects in Computer Science and Information Technology Department of Computer Science and Information Technology 6-2018 Selection

More information

Web-based system for learning of communication protocols

Web-based system for learning of communication protocols 38 Web-based system for learning of communication protocols Dan Komosny Brno University of Technology, Czech Republic Summary The paper introduces a new web-based system that provides on-line access to

More information

Part I: Preliminaries 24

Part I: Preliminaries 24 Contents Preface......................................... 15 Acknowledgements................................... 22 Part I: Preliminaries 24 1. Basics of Software Testing 25 1.1. Humans, errors, and testing.............................

More information

Verification of the Requirements Specification

Verification of the Requirements Specification Software Verification and Validation (VIMMD052) Verification of the Requirements Specification Istvan Majzik majzik@mit.bme.hu Budapest University of Technology and Economics Dept. of Measurement and Information

More information

Introduction to Formal Methods

Introduction to Formal Methods 2008 Spring Software Special Development 1 Introduction to Formal Methods Part I : Formal Specification i JUNBEOM YOO jbyoo@knokuk.ac.kr Reference AS Specifier s Introduction to Formal lmethods Jeannette

More information

Institutionen för datavetenskap Department of Computer and Information Science

Institutionen för datavetenskap Department of Computer and Information Science Institutionen för datavetenskap Department of Computer and Information Science Final thesis Evaluation of Model Based Testing and Conformiq Qtronic by Bilal Khan & Song Shang LIU-IDA/ LITH-EX-A- -09/049-

More information

A Systematic Review of Model Based Testing Tool Support

A Systematic Review of Model Based Testing Tool Support A Systematic Review of Model Based Testing Tool Support Muhammad Shafique, Yvan Labiche Software Quality Engineering Laboratory, Department of Systems and Computer Engineering, Carleton University, 1125

More information

Introducing MBT to Standardization. ETSI All rights reserved

Introducing MBT to Standardization. ETSI All rights reserved THE ETSI TEST DESCRIPTION LANGUAGE Introducing MBT to Standardization Presented by Andreas Ulrich, Siemens AG for ICTSS 2017, St. Petersburg, Russia ABOUT ETSI About ETSI, MTS, CTI European Telecommunication

More information

Automatic test generation based on functional coverage

Automatic test generation based on functional coverage 12 juin 2014 Automatic test generation based on functional coverage Emmanuel Gaudin PragmaDev UCAAT 2014 PragmaDev French SME, Created in 2001 by 2 two experts in modelling tools and languages Since creation

More information

Test Case Extraction and Test Data Generation from Design Models

Test Case Extraction and Test Data Generation from Design Models Session J-17 Test Case Extraction and Test Data Generation from Design Models Xiaojing ZHANG, Takashi HOSHINO NTT Cyber Space Laboratories Tokyo, JAPAN 2011.10.31 -- 2011.11.4 5WCSQ 1 Agenda Background

More information

Distributed Systems Programming (F21DS1) Formal Verification

Distributed Systems Programming (F21DS1) Formal Verification Distributed Systems Programming (F21DS1) Formal Verification Andrew Ireland Department of Computer Science School of Mathematical and Computer Sciences Heriot-Watt University Edinburgh Overview Focus on

More information

SECURITY TESTING USING MODELS AND TEST PATTERNS. Presented by [Bruno Legeard, Elizabeta Fourneret]

SECURITY TESTING USING MODELS AND TEST PATTERNS. Presented by [Bruno Legeard, Elizabeta Fourneret] Budapest, 26-28 October 2016 SECURITY TESTING USING MODELS AND TEST PATTERNS Presented by [Bruno Legeard, Elizabeta Fourneret] All rights reserved MODEL-BASED SECURITY TESTING Positionning with respect

More information

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

DESIGN HELPED A MAJOR AND HIGHER SOFTWARE CUSTOMER SUCCESS STORY ABOUT THE CLIENT CUSTOMER SUCCESS STORY AUTOMATED TEST DESIGN HELPED A MAJOR INSURANCE COMPANY ACHIEVE OPTIMIZED AND HIGHER SOFTWARE QUALITY ABOUT THE CLIENT The client is a major insurance company in the United States

More information

SECURITY TESTING USING MODELS AND TEST PATTERNS. Presented by [Bruno Legeard, Elizabeta Fourneret]

SECURITY TESTING USING MODELS AND TEST PATTERNS. Presented by [Bruno Legeard, Elizabeta Fourneret] Budapest, 26-28 October 2016 SECURITY TESTING USING MODELS AND TEST PATTERNS Presented by [Bruno Legeard, Elizabeta Fourneret] All rights reserved MODEL-BASED SECURITY TESTING Positionning with respect

More information

Chapter 4 Objectives

Chapter 4 Objectives Chapter 4 Objectives Eliciting requirements from the customers Modeling requirements Reviewing requirements to ensure their quality Documenting requirements for use by the design and test teams 4.1 The

More information

Ingegneria del Software Corso di Laurea in Informatica per il Management. Introduction to UML

Ingegneria del Software Corso di Laurea in Informatica per il Management. Introduction to UML Ingegneria del Software Corso di Laurea in Informatica per il Management Introduction to UML Davide Rossi Dipartimento di Informatica Università di Bologna Modeling A model is an (abstract) representation

More information

Qualitätssicherung von Software (SWQS)

Qualitätssicherung von Software (SWQS) Qualitätssicherung von Software (SWQS) Prof. Dr. Holger Schlingloff Humboldt-Universität zu Berlin und Fraunhofer FOKUS 15.7.2014: Modellbasierter Test (Jaroslav Svacina) Specification-based Testing Constructing

More information

Model-based Feedback for Software Performance Improvement

Model-based Feedback for Software Performance Improvement Model-based Feedback for Software Performance Improvement Dipartimento di Informatica Università degli Studi di L Aquila PhD student Catia Trubiani catia.trubiani@univaq.it Advisor Vittorio Cortellessa

More information

T : Protocol Design

T : Protocol Design T-110.300: Protocol Design Protocol Design Theory Methods Protocol Engineering Process (PEP) Timo.Kyntaja@vtt.fi 1 (154) Motivation Telecom systems engineering is a huge industry networks, terminals, services

More information

Automate Test Design. Evaluation Guide

Automate Test Design. Evaluation Guide TM Automate Test Design Evaluation Guide Conformiq Qtronic Evaluation Guide Copyright (C) Conformiq Software Ltd and its subsidiaries 1998-2008. All Rights Reserved. All information may be subject to change

More information

Verification and Validation. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 22 Slide 1

Verification and Validation. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 22 Slide 1 Verification and Validation Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 22 Slide 1 Verification vs validation Verification: "Are we building the product right?. The software should

More information

An Embedded Software Testing Requirements Modeling Tool Describing Static and Dynamic Characteristics

An Embedded Software Testing Requirements Modeling Tool Describing Static and Dynamic Characteristics International Symposium on Computers & Informatics (ISCI 2015) An Embedded Software Testing Requirements Modeling Tool Describing Static and Dynamic Characteristics Mingcheng Qu 1,2, Naigang Cui 2, Bingsong

More information

Model Driven Architecture based Testing Tool based on Architecture Views

Model Driven Architecture based Testing Tool based on Architecture Views Model Driven Architecture based Testing Tool based on Architecture Views Burak Uzun and Bedir Tekinerdogan Information Technology Group, Wageningen University, Wageningen, The Netherlands Keywords: Abstract:

More information

The Bizarre Truth! Automating the Automation. Complicated & Confusing taxonomy of Model Based Testing approach A CONFORMIQ WHITEPAPER

The Bizarre Truth! Automating the Automation. Complicated & Confusing taxonomy of Model Based Testing approach A CONFORMIQ WHITEPAPER The Bizarre Truth! Complicated & Confusing taxonomy of Model Based Testing approach A CONFORMIQ WHITEPAPER By Kimmo Nupponen 1 TABLE OF CONTENTS 1. The context Introduction 2. The approach Know the difference

More information

XVIII. Software Testing. Laurea Triennale in Informatica Corso di Ingegneria del Software I A.A. 2006/2007 Andrea Polini

XVIII. Software Testing. Laurea Triennale in Informatica Corso di Ingegneria del Software I A.A. 2006/2007 Andrea Polini XVIII. Software Testing Laurea Triennale in Informatica Corso di Objective General discussion on Testing Testing Phases Approaches to testing Structural testing Functional testing Testing non functional

More information

From Test Legacy to Model- Based Testing How to refactor an existing test repository into an MBT model?

From Test Legacy to Model- Based Testing How to refactor an existing test repository into an MBT model? From Test Legacy to Model- Based Testing How to refactor an existing test repository into an MBT model? UCAAT 2014 September 16/18 - Munich Arnaud Bouzy Bruno Legeard {arnaud.bouzy, bruno.legeard}@smartesting.com

More information

Topics in Software Testing

Topics in Software Testing Dependable Software Systems Topics in Software Testing Material drawn from [Beizer, Sommerville] Software Testing Software testing is a critical element of software quality assurance and represents the

More information

Thirty one Problems in the Semantics of UML 1.3 Dynamics

Thirty one Problems in the Semantics of UML 1.3 Dynamics Thirty one Problems in the Semantics of UML 1.3 Dynamics G. Reggio R.J. Wieringa September 14, 1999 1 Introduction In this discussion paper we list a number of problems we found with the current dynamic

More information

Part 5. Verification and Validation

Part 5. Verification and Validation Software Engineering Part 5. Verification and Validation - Verification and Validation - Software Testing Ver. 1.7 This lecture note is based on materials from Ian Sommerville 2006. Anyone can use this

More information

Specification-based testing of IPsec

Specification-based testing of IPsec Specification-based testing of IPsec Institute for system Programming Russian Academy of Sciences Nickolay Pakoulin npak@ispras.ru Agenda Work Background Specification based testing in IPsec Discussion

More information

Practical Model-based Testing With Papyrus and RT-Tester

Practical Model-based Testing With Papyrus and RT-Tester Practical Model-based Testing With Papyrus and RT-Tester Jan Peleska and Wen-ling Huang University of Bremen Verified Systems International GmbH Fourth Halmstad Summer School on Testing, 2014-06-11 Acknowledgements.

More information

Quality Assurance: Test Development & Execution. Ian S. King Test Development Lead Windows CE Base OS Team Microsoft Corporation

Quality Assurance: Test Development & Execution. Ian S. King Test Development Lead Windows CE Base OS Team Microsoft Corporation Quality Assurance: Test Development & Execution Ian S. King Test Development Lead Windows CE Base OS Team Microsoft Corporation Introduction: Ian King Manager of Test Development for Windows CE Base OS

More information

Static Safety Analysis of UML Action Semantics for Critical Systems Development

Static Safety Analysis of UML Action Semantics for Critical Systems Development Static Safety Analysis of UML Action Semantics for Critical Systems Development Zsigmond Pap, Dániel Varró Dept. of Measurement and Information Systems Budapest University of Technology and Economics H-1521

More information

Introduction to Modeling

Introduction to Modeling Introduction to Modeling Software Architecture Lecture 9 Copyright Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy. All rights reserved. Objectives Concepts What is modeling? How do we choose

More information

Software Testing IV. Prof. Dr. Holger Schlingloff. Humboldt-Universität zu Berlin

Software Testing IV. Prof. Dr. Holger Schlingloff. Humboldt-Universität zu Berlin Software Testing IV Prof. Dr. Holger Schlingloff Humboldt-Universität zu Berlin and Fraunhofer Institute of Computer Architecture and Software Technology FIRST Outline of this Lecture Series 2006/11/24:

More information

Ingegneria del Software Corso di Laurea in Informatica per il Management

Ingegneria del Software Corso di Laurea in Informatica per il Management Ingegneria del Software Corso di Laurea in Informatica per il Management Software testing Davide Rossi Dipartimento di Informatica Università di Bologna Validation and verification Software testing is

More information

Specifications Part 1

Specifications Part 1 pm3 12 Specifications Part 1 Embedded System Design Kluwer Academic Publisher by Peter Marwedel TU Dortmund 2008/11/15 ine Marwedel, 2003 Graphics: Alexandra Nolte, Ges Introduction 12, 2008-2 - 1 Specification

More information

Institutionen för datavetenskap Department of Computer and Information Science

Institutionen för datavetenskap Department of Computer and Information Science Institutionen för datavetenskap Department of Computer and Information Science Final thesis Evaluation of Model-Based Testing on a Base Station Controller by Stefan Trimmel LIU-IDA/LITH-EX-A--08/023--SE

More information

Improving UML with Petri nets

Improving UML with Petri nets Electronic Notes in Theoretical Computer Science 44 No. 4 (2001) URL: http://www.elsevier.nl/locate/entcs/volume44.html 13 pages Improving UML with Petri nets Luciano Baresi Dipartimento di Elettronica

More information

Checking consistency between architectural models using SPIN

Checking consistency between architectural models using SPIN ing consistency between architectural models using SPIN Paola Inverardi & Henry Muccini & Patrizio Pelliccione Dipartimento di Matematica Universitá dell Aquila - Via Vetoio, 1 67100 L Aquila, Italy finverard,

More information

Towards flexible and efficient model-based testing, utilizing domain-specific modelling

Towards flexible and efficient model-based testing, utilizing domain-specific modelling Towards flexible and efficient model-based testing, utilizing domain-specific modelling Olli-Pekka Puolitaival VTT Technical Research Centre of Finland P.O. Box 1100 90571 Oulu, Finland olli-pekka.puolitaival@vtt.fi

More information

Transforming UML Collaborating Statecharts for Verification and Simulation

Transforming UML Collaborating Statecharts for Verification and Simulation Transforming UML Collaborating Statecharts for Verification and Simulation Patrick O. Bobbie, Yiming Ji, and Lusheng Liang School of Computing and Software Engineering Southern Polytechnic State University

More information

Model Transformation Testing Challenges

Model Transformation Testing Challenges Model Transformation Testing Challenges Benoit Baudry 1, Trung Dinh-Trong 2, Jean-Marie Mottu 1, Devon Simmonds 2, Robert France 2, Sudipto Ghosh 2, Franck Fleurey 1, Yves Le Traon 3 1 IRISA, Campus Beaulieu,

More information

Model Driven Testing Overview

Model Driven Testing Overview Software and Verification Technologies Model Driven ing Overview July 2003 www.agedis.de w3.haifa.il.ibm.com\softwaretesting\gtcb IBM Internal Use Only IBM Labs in Haifa Outline Motivation Process Technology

More information

Model Driven Engineering (MDE)

Model Driven Engineering (MDE) Model Driven Engineering (MDE) Yngve Lamo 1 1 Faculty of Engineering, Bergen University College, Norway 26 April 2011 Ålesund Outline Background Software Engineering History, SE Model Driven Engineering

More information

Verification and Validation. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 22 Slide 1

Verification and Validation. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 22 Slide 1 Verification and Validation 1 Objectives To introduce software verification and validation and to discuss the distinction between them To describe the program inspection process and its role in V & V To

More information

Hardware Description Languages & System Description Languages Properties

Hardware Description Languages & System Description Languages Properties Hardware Description Languages & System Description Languages Properties There is a need for executable specification language that is capable of capturing the functionality of the system in a machine-readable

More information

2 nd UML 2 Semantics Symposium: Formal Semantics for UML

2 nd UML 2 Semantics Symposium: Formal Semantics for UML 2 nd UML 2 Semantics Symposium: Formal Semantics for UML Manfred Broy 1, Michelle L. Crane 2, Juergen Dingel 2, Alan Hartman 3, Bernhard Rumpe 4, and Bran Selic 5 1 Technische Universität München, Germany

More information

Lab for the course on Process and Service Modeling and Analysis. LAB-01 Introduction. Lecturer: Andrea MARRELLA

Lab for the course on Process and Service Modeling and Analysis. LAB-01 Introduction. Lecturer: Andrea MARRELLA Lab for the course on Process and Service Modeling and Analysis LAB-01 Introduction Lecturer: Andrea MARRELLA Lecturer Andrea Marrella Dipartimento di Ingegneria Informatica, Automatica e Gestionale A.Ruberti

More information

A UML SIMULATOR BASED ON A GENERIC MODEL EXECUTION ENGINE

A UML SIMULATOR BASED ON A GENERIC MODEL EXECUTION ENGINE A UML SIMULATOR BASED ON A GENERIC MODEL EXECUTION ENGINE Andrei Kirshin, Dany Moshkovich, Alan Hartman IBM Haifa Research Lab Mount Carmel, Haifa 31905, Israel E-mail: {kirshin, mdany, hartman}@il.ibm.com

More information

SCOS-2000 Technical Note

SCOS-2000 Technical Note SCOS-2000 Technical Note MDA Study Prototyping Technical Note Document Reference: Document Status: Issue 1.0 Prepared By: Eugenio Zanatta MDA Study Prototyping Page: 2 Action Name Date Signature Prepared

More information

Objectives. Chapter 19. Verification vs. validation. Topics covered. Static and dynamic verification. The V&V process

Objectives. Chapter 19. Verification vs. validation. Topics covered. Static and dynamic verification. The V&V process Objectives Chapter 19 Verification and Validation Assuring that a software system meets a user s need are to introduce software verification and validation (V&V) and to discuss the distinction between

More information

Introduction to Software Specifications and Data Flow Diagrams. Neelam Gupta The University of Arizona

Introduction to Software Specifications and Data Flow Diagrams. Neelam Gupta The University of Arizona Introduction to Software Specifications and Data Flow Diagrams Neelam Gupta The University of Arizona Specification A broad term that means definition Used at different stages of software development for

More information

Engineering of computer networking protocols : an historical perspective

Engineering of computer networking protocols : an historical perspective Engineering of computer networking protocols : an historical perspective Gregor v. Bochmann University of Ottawa with thanks to Colin West and Dave Rayner http://www.site.uottawa.ca/~bochmann/talks/history.ppt

More information

First Steps Towards Conceptual Schema Testing

First Steps Towards Conceptual Schema Testing First Steps Towards Conceptual Schema Testing Albert Tort and Antoni Olivé Universitat Politècnica de Catalunya {atort,olive}@lsi.upc.edu Abstract. Like any software artifact, conceptual schemas of information

More information

TDDD04: Integration and System level testing. Lena Buffoni

TDDD04: Integration and System level testing. Lena Buffoni TDDD04: Integration and System level testing Lena Buffoni lena.buffoni@liu.se Lecture plan Integration testing System testing Test automation Model-based testing Remember? Testing in the waterfall model

More information

WAY OF WORKING TRANSFORMATION TO INTEGRATED MODEL DRIVEN DEVELOPMENT (MDD) AND MODEL- BASED TESTING (MBT)

WAY OF WORKING TRANSFORMATION TO INTEGRATED MODEL DRIVEN DEVELOPMENT (MDD) AND MODEL- BASED TESTING (MBT) Sophia Antipolis, French Riviera 20-22 October 2015 WAY OF WORKING TRANSFORMATION TO INTEGRATED MODEL DRIVEN DEVELOPMENT (MDD) AND MODEL- BASED TESTING (MBT) Tiina Rantala (tiina.rantala@nokia.com), Pekka

More information

Architecture-driven development of Climate Control Software LMS Imagine.Lab Embedded Software Designer Siemens DF PL

Architecture-driven development of Climate Control Software LMS Imagine.Lab Embedded Software Designer Siemens DF PL Architecture-driven development of Climate Control Software LMS Imagine.Lab Embedded Software Designer Siemens DF PL Restricted Siemens AG 2017 Realize innovation. Content 1 Overview 3 2 LMS Imagine.Lab

More information

Hardware Description Languages & System Description Languages Properties

Hardware Description Languages & System Description Languages Properties Hardware Description Languages & System Description Languages Properties There is a need for executable specification language that is capable of capturing the functionality of the system in a machine-readable

More information

J2EE Application Development : Conversion and Beyond Osmond Ng

J2EE Application Development : Conversion and Beyond Osmond Ng IBM Software Group J2EE Application Development : Conversion and Beyond Osmond Ng IBM Software Group Practitioner View Point IBM Rational Application Developer J2EE/EJB Tooling J2EE construction tools

More information

Integration of Formal Methods and Testing for Model-Based Systems Engineering NII Shonan Meeting, Japan, Nov. 30 Dec. 4, 2014

Integration of Formal Methods and Testing for Model-Based Systems Engineering NII Shonan Meeting, Japan, Nov. 30 Dec. 4, 2014 Alexandre Petrenko Lead Researcher Computer Research Institute of Montreal CRIM, Canada Curiosity driven and industrial research: FranceTelecom, Siemens, Bombardier, SAP, CAE, Ericsson, GM Integration

More information

Process and data flow modeling

Process and data flow modeling Process and data flow modeling Vince Molnár Informatikai Rendszertervezés BMEVIMIAC01 Budapest University of Technology and Economics Fault Tolerant Systems Research Group Budapest University of Technology

More information

Introduction To Software Testing. Brian Nielsen. Center of Embedded Software Systems Aalborg University, Denmark CSS

Introduction To Software Testing. Brian Nielsen. Center of Embedded Software Systems Aalborg University, Denmark CSS Introduction To Software Testing Brian Nielsen bnielsen@cs.aau.dk Center of Embedded Software Systems Aalborg University, Denmark CSS 1010111011010101 1011010101110111 What is testing? Testing Testing:

More information

The software lifecycle and its documents

The software lifecycle and its documents The software lifecycle and its documents Supplementary material for Software Architecture course B. Meyer, May 2006 Lifecycle models Origin: Royce, 1970, Waterfall model Scope: describe the set of processes

More information

Test suite development for conformance testing of protocols

Test suite development for conformance testing of  protocols Test suite development for conformance testing of email protocols Nikolay Pakulin ISP RAS npak@ispras.ru Anastasia Tugaenko ISP RAS tugaenko@ispras.ru Abstract The method for testing electronic mail protocols

More information

model centric Testing (.mzt)

model centric Testing (.mzt) model centric Testing (.mzt) Challenges and Solutions in Test Design, Test Management and Test Execution Georg Götz (sepp.med gmbh) georg.goetz@seppmed.de Dr. Armin Metzger (sepp.med gmbh) armin.metzger@seppmed.de

More information

Specifications and Modeling

Specifications and Modeling 12 Specifications and Modeling Peter Marwedel TU Dortmund, Informatik 12 Springer, 2010 2012 年 10 月 17 日 These slides use Microsoft clip arts. Microsoft copyright restrictions apply. Hypothetical design

More information

SUMMARY: MODEL DRIVEN SECURITY

SUMMARY: MODEL DRIVEN SECURITY SUMMARY: MODEL DRIVEN SECURITY JAN-FILIP ZAGALAK, JZAGALAK@STUDENT.ETHZ.CH Model Driven Security: From UML Models to Access Control Infrastructres David Basin, Juergen Doser, ETH Zuerich Torsten lodderstedt,

More information

F. Tip and M. Weintraub FUNCTIONAL TESTING

F. Tip and M. Weintraub FUNCTIONAL TESTING F. Tip and M. Weintraub FUNCTIONAL TESTING ACKNOWLEDGEMENTS Thanks go to Andreas Zeller for allowing incorporation of his materials 2 HOW TO TELL IF A SYSTEM MEETS EXPECTATIONS? Two options: 1. testing:

More information