MTVV 2009 --- Automated tests generation from SysML models July 1st 2009 --- Jonathan Lasalle.

Slides:



Advertisements
Similar presentations
Model-Based Testing with Smartesting Jean-Pierre Schoch Sogetis Second Testing Academy 29 April 2009.
Advertisements

Integration of MBSE and Virtual Engineering for Detailed Design
Cliquez pour modifier le style du titre Cliquez pour modifier les styles du texte du masque Deuxième niveau Troisième niveau Quatrième niveau Cinquième.
© SMARTESTING 2011 – This document is the property of Smartesting. It may not be reproduced in whole or in part Cliquez pour modifier le style du titre.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 2, Modeling with UML, Part 4 UML 2 Metamodel.
Professor John Hosking, Dean of Engineering and Computer Science Models, Modelling, MBSE.
A Brief Introduction. Acknowledgements  The material in this tutorial is based in part on: Concurrency: State Models & Java Programming, by Jeff Magee.
1 Model Driven Development. 2 DoDAF/ModAF/ SysML and AP233 Architecture –DODAF MODAF Modelling –UML –SysML Interchange –AP 233AP 233 –XMI.
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
UML CASE Tool. ABSTRACT Domain analysis enables identifying families of applications and capturing their terminology in order to assist and guide system.
Ontologies Reasoning Components Agents Simulations An Overview of Model-Driven Engineering and Architecture Jacques Robin.
1 CS/CPE 426 Senior Projects Chapter 21: State Machines Chapter 22:Advanced State Machines [Arlow and Neustadt 2005] March 24, 2009.
THE OBJECT-ORIENTED DESIGN WORKFLOW Statechart Diagrams.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
CPSC 371/872 UML / SysML Modeling J. YATES MONTEITH, CLEMSON UNIVERSITY, FALL 2014.
© 2008 IBM Corporation Behavioral Models for Software Development Andrei Kirshin, Dolev Dotan, Alan Hartman January 2008.
An Introduction to Rational Rose Real-Time
SysML: A Modeling Language for Systems of Systems
UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University.
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
Free Mini Course: Applying SysML with MagicDraw
Systems Modeling Language ™ Overview Cris Kobryn and Sandy Friedenthal SysML Partners ( October 2003.
Copyright © Siemens AG All rights reserved. Essential Criteria on MBT to Ensure Quality of Software in Industry PVR Murthy Andreas Ulrich Siemens.
MDA and QVT  Tom Gullion, Director of Product Management, Together Products.
© 2009 IBM Corporation Verification of embedded system specifications using collaborative simulation of SysML and Simulink models Ryo Kawahara*, Hiroaki.
MDE Model Driven Engineering Xavier Blanc Université Pierre et Marie Curie
Object Management Group (OMG) Specifies open standards for every aspect of distributed computing Multiplatform Model Driven Architecture (MDA)
Object-Oriented Modeling Using UML CS 3331 Section 2.3 of Jia 2003.
1 UML Basic Training. UML Basic training2 Agenda  Definitions: requirements, design  Basics of Unified Modeling Language 1.4  SysML.
Selected Topics in Software Engineering - Distributed Software Development.
Generic API Test tool By Moshe Sapir Almog Masika.
Real Time Systems Modeling Structure in UML (Part I)
Unified Modeling Language* Keng Siau University of Nebraska-Lincoln *Adapted from “Software Architecture and the UML” by Grady Booch.
Modeling Component-based Software Systems with UML 2.0 George T. Edwards Jaiganesh Balasubramanian Arvind S. Krishna Vanderbilt University Nashville, TN.
The Unified Modeling Language Part II Omar Meqdadi SE 2730 Lecture 9 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
A common meta-model for the interoperation of tools with heterogeneous data models ECMFA 2010 Third Workshop on Model-Driven Tool & Process Integration.
1 UP MBT Extending the Unified Process with Model-Based Testing Fabrice Bouquet, Stéphane Debricon, Bruno Legeard and Jean-Daniel Nicolet MoDeV 2 a 2006.
Copyright SOLINET GmbH SDL & Requirements of Signalling Systems William H. Skelton SOLINET, Stuttgart.
Laboratory of Model Driven Engineering for Embedded Systems An Execution Framework for MARTE-based Models UML&AADL’2008 workshop Belfast, Northern Ireland.
CIM LAB MEETING Presentation on UML Rakesh Mopidevi Kwangyeol Ryu.
Object Oriented Analysis & Design & UML (Unified Modeling Language)1 Part VI: Design Continuous Activity Diagams State Diagrams.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Systems Analysis and Design in a Changing World, Thursday, Feb 15.
1 Unified Modeling Language, Version 2.0 Chapter 2.
XASTRO-2 Presentation CCSDS SAWG th November 2004.
Satisfying Requirements BPF for DRA shall address: –DAQ Environment (Eclipse RCP): Gumtree ISEE workbench integration; –Design Composing and Configurability,
Overview of meta-modeling works for multi-clocked environments Christian Brunette IRISA/INRIA Rennes – ESPRESSO Synchron 2005.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 2, Modeling with UML: UML 2 Metamodel Note to Instructor: The material in this.
Fall 2007 Week 9: UML Overview MSIS 670: Object-Oriented Software Engineering.
Ontologies Reasoning Components Agents Simulations An Overview of Model-Driven Engineering and Architecture Jacques Robin.
XASTRO vs RASDS CCSDS SAWG Meeting. CCSDS SAWG2 Presentation Outline XASTRO study analysis phase conclusions Relationship between XASTRO and UML 2 / SysML.
Introduction to UML and Rational Rose UML - Unified Modeling Language Rational Rose 98 - a GUI tool to systematically develop software through the following.
PAPYRUS Tutorial CSOS 손 태 용.
© 2009 Artisan Software Tools. All rights reserved. Testing Solutions with UML/SysML Andrew Stuart, Matthew Hause.
Software test automation with UML2.0 TestingProfile & TTCN-3 Maili Markvardt.
SysML and Modelica Integration Working Group Meeting 3/11/09 Peter Fritzson Wladimir Schamai.
Systems Modeling Language (SysML). 2 What is SysML? A graphical modeling language in response to UML for Systems Engineering developed by the OMG, INCOSE,
University of Central Florida COP 3330 Object Oriented Programming
Online Shopping APP.
UML Activity Diagrams & State Charts
Behavioral Models for Software Development
Chapter 2, Modeling with UML, Part 4 UML 2 Metamodel
CS/CPE 426 Senior Projects
CS310 Software Engineering Dr.Doaa Sami
CS/CPE 426 Senior Projects
Copyright © 2015, 2012, 2009 Elsevier Inc. All rights reserved.
CS 791Z State Machines & Advanced State Machines
On to Object Design c. 14.
Presentation transcript:

MTVV Automated tests generation from SysML models July 1st Jonathan Lasalle

218 juillet 2015 Outline Test Designer VETESS project SysML/SysML4MBT Test Generation Strategies Conclusion and future works

318 juillet 2015 Test Designer PIVOT FILE UML Java TEST MODEL UML4ST RSM Test Designer™ Tests

418 juillet 2015 Example : front lightings Vehicle front lightings Management (HighLights + HeadLights) Actions : Turn on/off HighLights Turn on/off HeadLights 4 possible states : All Lights OFF HighLights Only HeadLights Only All Lights ON

518 juillet 2015 UML4ST (UML for Smartesting) 1 class diagram (static view) 1 object diagram (representation of the initial state of the system)

618 juillet 2015 UML4ST (UML for Smartesting) 1 statemachine diagram (dynamic view) Trigger : Operation Call Guard : Boolean expression (OCL) Action : OCL expression

718 juillet 2015 Outline Test Designer VETESS project SysML/SysML4MBT Test Generation Strategies Conclusion and future works

818 juillet 2015 VETESS project VETESS = Vérification de systèmes embarqués VEhicule par génération automatique de TESts à partir des Spécifications Project labelized by the Competitiveness Cluster «Véhicule du Futur» (2008/2010) Project members : Smartesting : editor of MBT’s software (Test Designer) Clemessy : concepteur de bancs de validation PSA : car manufacturer LIFC : Model Based Testing experience (MBT) MIPS : Model Driven Engineering experience (MDE)

918 juillet 2015 VETESS project Specification of systems under test (SUT) with SysML behavioral models Automated tests generation from SysML models with Test Designer (Smartesting) Export and execution of tests on TestInView platform (Clemessy) Automation of this process with a tools framework which contains those parts.

1018 juillet 2015 Tools framework TEST MODEL SysML4MBT PAPYRUS UML4ST MetaModel SysML4MBT Metamodel PIVOT FILE UML Java TEST MODEL UML4ST PAPYRUS TEST MODEL UML4ST RSM Test Designer ™ Tests Embedded Dedicated tests Adaptation layer (TestInView Library) + +

1118 juillet 2015 Scientific challenge To consider models with parallelism Reactive systems (Transmission of Signals) To consider the system and his environment Test Generation strategies dedicated to those problematics

1218 juillet 2015 Outline Test Designer VETESS project SysML/SysML4MBT Test Generation Strategies Conclusion and future works

1318 juillet 2015 SysML System Modeling Language Modeling language for system engineering Subset of UML with extensions OMG : SysML 1.0 since September 2007 SysML = UML profile Fit to modeling embedded system

1418 juillet 2015 SysML diagrams Diagrams in both : Use-Case diagram Sequence diagram Activity diagram State Machine diagram Package diagram Variation of UML : Class diagram => Block diagram Composite Structure diagram => Internal Block diagram Only on SysML Parametric diagram : physics equations Requirement diagram

1518 juillet 2015 SysML4MBT : block diagram 1 block diagram => static view

1618 juillet 2015 SysML4MBT : block diagram Flow ports : Controller  outActionHead  outActionHigh HeadLights  inActionHead HighLights  inActionHigh

1718 juillet 2015 SysML4MBT : internal block diag. 1 internal block diagram => interconnections between blocks

1818 juillet 2015 SysML4MBT : state machine diag. 1 or more statemachine diagram(s) => dynamic view of system parts SEND 1 RECEIVE 1 SEND 1 SEND 2 SEND 3 SEND 4 RECEIVE 4 RECEIVE 3 RECEIVE 2

1918 juillet 2015 Scientific challenge To consider models with parallelism Reactive systems (Transmission of Signals) To consider the system and his environment Test Generation strategies dedicated to those problematics OK => Several state machine diagrams OK => ports + signal OK => Several state machine diagrams

2018 juillet 2015 Outline Test Designer VETESS project SysML/SysML4MBT Test Generation Strategies Conclusion and future works

2118 juillet 2015 Test Generation Strategy : TD Test Designer All behaviors For each behavior => 1 test case which passes through the behavior Action of a transition: IF (BOOL) THEN Action A Else Action B TEST 1 (with BOOL = true) TEST 2 (with BOOL = false)

2218 juillet 2015 Test Generation Strategy : DUvar Uses state variables For each variable Var For each behavior B1 which defines Var (Var = 5)  For each behavior B2 which uses Var (Var2 = Var) –B1/B2 is a pair Criteria : All_Uses : Coverage of each pair B1/B2 (1 path) All_Def_Use_Paths : Coverage of all paths for each pair B1/B2

2318 juillet 2015 Test Generation Strategy : ComCover Uses connectors For each connector Connect For each Behavior B1 which sends signal on Connect  For each Behavior B2 which receives signal sent by B1 –B1/B2 is a pair Criteria All_Receives : Coverage of each pair B1/B2 (1 path) All_Send_Receive_Paths : Coverage of all paths for each pair B1/B2

2418 juillet 2015 Test Generation Strategy : Scenario Scenarios defined by the user 3 ideas: With valuated paths  Ex : CallOp1(5), CallOp2(4), CallOp1(8) With not-valuated paths :  Ex : CallOp1(?), CallOp2(?), CallOp1(5) With not-valuated not-complete paths :  Ex : CallOp1(?), ?, CallOp2(6)

Experimentations FrontLightingsFrontWiper (manual) Nb statemachine36 Nb states(4,2,2)(1,1,1,1,14,2) Nb transitions(8,2,2)(2,2,2,1,20,3) Nb tests algo TD1230 Coverage Algo TDAll_transitions Nb tests DUvar015 Coverage All_UsesNone Nb tests ComCover813 Coverage All_ReceivesDU-PATHSNone Coverage DUvar+ComCover DU-PATHS 2518 juillet 2015

2618 juillet 2015 Outline Test Designer VETESS project SysML/SysML4MBT Test Generation Strategies Conclusion and future works

2718 juillet 2015 Conclusion & Outlook TEST MODEL SysML4MBT PAPYRUS UML4ST MetaModel SysML4MBT Metamodel PIVOT FILE UML Java TEST MODEL UML4ST PAPYRUS TEST MODEL UML4ST RSM Test Designer ™ Tests Embedded Dedicated tests Adaptation layer (TestInView Library) + + DUvar ComCover Scenario

The End Questions? 2818 juillet 2015