SlideShare a Scribd company logo
1 of 36
Download to read offline
Rachid Kherrazi
8-10-2014 Amsterdam
TESTING ASD INTERFACE COMPLIANCE WITH
ASDSPEC
“A TOOL COMBINING THE BEST OF TWO TECHNIQUES”
PEOPLE INVOLVED
• Rachid Kherrazi
– Sr. Consultant-Project Leader @ Nspyre
– Domain
• Process and Product Improvement
• Model Based Testing and Model Driven Engineering
• iSQI Accredited Certified Model Based Tester Trainer
• Also : Arjan van Der Meer & Marc Hamilton
2
ABOUT NSPYRE
MARKET SEGMENTS
• High Tech
• Traffic & Infra
• Industry
AREA’S OF EXCELLENCE
(Model Based) Systems Engineering /Model Driven
Engineering / Model Based Testing /Industrial Automation /
Simulation / Big Data / Mobile Solutions
3
CONTENTS
1) Introduction to Model Based Testing
2) Generation of test cases form ASD interface model using
ASDSpec tool
3) Case Study and Results
4) ASDSpec Technology
4
V-MODEL AND MODEL DRIVEN SYSTEM DEVELOPMENT
Requirements
Analysis
System Functional
Analysis
Design Synthesis
SW Analysis &
Design
SW Implementation & Unit
Test
Module Integration
& Test
(Sub-)System
Integration &Test
Model/RequirementsRepository
Model Based System
Engineering
System Acceptance
Some of related technology
5
V-MODEL AND MODEL DRIVEN SYSTEM DEVELOPMENT
Requirements
Analysis
System Functional
Analysis
Design Synthesis
SW Analysis &
Design
SW Implementation & Unit
Test
Module Integration
& Test
(Sub-)System
Integration &Test
Model/RequirementsRepository
Model Driven
Engineering
System Acceptance
Some of related technology
6
V-MODEL AND MODEL DRIVEN SYSTEM DEVELOPMENT
Requirements
Analysis
System Functional
Analysis
Design Synthesis
SW Analysis &
Design
SW Implementation & Unit
Test
Module Integration
& Test
(Sub-)System
Integration &Test
Model/RequirementsRepository
System Acceptance
Model Based Testing
Some of related technology
7
IntegrationDesign
Coding
Requirements System test
Test case specification
(design of logical test case)
(reduction of number of test cases by application of test techniques
Test execution
(reporting)
Test case generation
(design of physical test case)
(selection of input values and calculation of expected results)
PAGE 8
TEST PROCESS
3 main steps in test process
Module
Subsystem
System
8
MBT IS THE AUTOMATION OF TEST CASE
GENERATION
Manual Automatic
Test specification
Test execution
Test generation
Modelbasedtesting
Traditionalmanualtesting
Traditionalautomatictesting
Manual
Scripting
Testing skills + Scripting skills + Modeling skills
Manual
Modeling
9
MBT PROCESS IN A NUTSHELL
Requirements
SUT
Expected outputs
(Test Oracle)
Inputs
(Test sequences)
Verdict Failed
Actual result # expected
result
Test suite
generate
author
feedback
feedback
feedback
Feedback
(via review, model
exploration, Model
checking)
control
Test Model
Actual outputs
Implementation Bug
Modeling error
Specification error
Design error
Conformance failures
10
EXAMPLE:
MODELING WITH SPEC EXPLORER LOOK AND FEEL
Explore &
Analyze
Remodel
Generate
C# Model
(or other .Net
Language)
Model Graph
Test Suite
11
Execute
Nunit
Note: this is not implementation
code, this is the textual Test model
(describing the interface behavior)
System Under Test
WHY ARE MODELS NEEDED FOR
TESTING?
12
Component A
Component C
Component B
Unit A1
Unit A2
Unit B1 Unit B2
Unit C1 Unit C2
Unit testing is insufficient
- Single unit may work properly
in isolation
- Incorrect interaction between
units may cause serious
security/reliability failures
System-level testing:
- Requires model of externally visible system behavior
- Traditional FSM-based testing does not scale
- Behavior is often reactive/nondeterministic
- Implementation is multi-threaded or distributed
- Thread scheduling hard to control
- State space is typically infinite
SOME BENEFITS OF MODEL BASED
• Increased productivity (increased automation)
• Better test script maintenance
• Improved product reliability (early defect detection)
• Agility ( Easily react to new feature changes, Reusability of test
semantics, Early test engagement, Drive quality upstream)
• Increased employee satisfaction (challenging, new horizon, fun)
13
MBT:
CHALLENGES AND OPPORTUNITIES
Challenges:
MBT is not easy: Different mind shift from traditional testing (Modeling skills)
and steep learning curve and high ramp up cost (tooling)
Opportunities:
Modeling skills specialized training and certification
 e.g. iSQI Certified MBT training (CMBT)
 Nspyre is a iSQI training provider
Tooling More (Open Source) supporting integration of modeling, M2M
transformation,…
 e.g. Nspyre ASDspec
14
SUPPORTING TOOLING
Manual Automatic
Test specification
Test execution
Test generation
Modelbasedtesting
Traditionalmanualtesting
15
Testing skills
Manual
Modeling
MBTnext
Semi-automatic
Modeling
Manual
Scripting
+ Scripting skills Modeling skills
Traditionalautomatictesting
IDEA: REUSE EXISTING MODELS
16
ASD Interface Model
ASDSpec
SpecExplorer
VERUM ASD:SUITE
17
Design model
Interface model
Requirements
Features
Use cases
Prototype
Decomposition
Code generation
Simulation & verification
NSPYRE ASDSPEC
18
Design model
Interface model
Requirements
Features
Use cases
Prototype
Decomposition
Test model
Test cases
ASDspec
Code generation
Simulation & verification
Testing
Note: reuse only the
Interface model! Design
model is not used
WHAT IS VERIFIED BY ASD
19
System Under Test
Component A
(ASD genereted)
Component C
(ASD genereted)
Component B
(hand written)
Unit A1
Unit A2
Unit B1 Unit B2
Unit C1 Unit C2
ASD verification doesn’t cover:
• Handwritten /legacy code
• Interaction between generated/handwritten component
• Data interaction
 With MBT (Spec Explorer) we can cover all the above aspects!
ASDSPEC: WORKFLOW
Spec
Explorer
Model
Cord
file
Spec
Explorer
Test
Cases
20
tester /modeler
Cord file:
• Test Selection /Slicing /Scenario Selection
• Data Combination
• Model Composition
Model:
• Interface behavior
Spec Explorer (MBT tool):
• Generate automatically test cases
MBT
ASDSPEC: WORKFLOW
ASDspec
ASD
Interface
Model
Spec
Explorer
Model
Cord
Script
Spec
Explorer
Test
Cases
Reuse existing ASD interface models to generate Spec
Explorer MBT models automatically
21
MBT
ASDSPEC: DATA AND MODEL COMPOSITION
ASDspec
ASD
Interface
Model
Spec
Explorer
Model
Cord
file
Spec
Explorer
Test
Cases
Generated model can be extended with any Spec Explorer feature
in cord file (config file)
22
Cord file:
• Test Selection /Slicing /Scenario Selection
• Data Combination
• Model Composition
MBT
USE CASE: CONTAINER TERMINAL
• Multiple components
• Components need to interact to function
• Controller needed to coordinate interaction
23
RESULTS:
ASD-CONTAINER TERMINAL
24
Higher overall productivity compared to traditional development.
Main remaining problems:
- Testing interaction and complete system (not fully supported)
- Data interaction not fully supported
- Debugging of third party library (some bugs found in manual written
code, legacy code)  Testing still necessary
Productivity
Method
OVERVIEW OF PROJECT STAGES
25
Use case
/SUT
Goal
Technique
Tool
Results
Stage 1
Container Terminal (CT)
Development of control
software for the CT
Model Driven Engineering +
hand written sw
ASD:Suite
Create design Models +
interface models in ASD
Generate code
Productivity (code
generation) c.t. trad. dev
-
Testing complete system,
Interaction, data, external
code
Stage 2
Container Terminal (CT)
Verification of the
developed control software
of the CT (generated +
Hand written)
Model based Testing
Spec Explorer
Create Test Model in Spec
Explorer, generate test
suite
Test Productivity
Modeling skills,
complexity costs
Stage 3
Container Terminal (CT)
Verification of the developed control
software of the CT (generated + Hand
written)
Model based Testing
ASDspec & Spec Explorer
Generate Test Model from existing ASD
interface Model , complete Test Model ,
generate test suite
+ Productivity (code generation, partial test
generation)
Testing complete system, Interaction, data,
external code
(benefits only in case of existing of ASD
Models)
RESULTS:
ASDSPEC- CONTAINER TERMINAL
26
Spec Explorer ASD + ASDSpec
Approach Generate test suite Generate test model
Techniques MBT MBT/MDE (M2M)
Effort/complexity Medium Low
Test cases 89 93
Perceived effectiveness Medium High
Bugs Some bugs in hand written code
/HAL
All known bus found
• Low effort model creation
- Easy reuse of existing work
• Testing of complete system
- Legacy code, data interaction
• High Quality, Cost Reduction
GENERAL MDSD ARCHITECTURE
Model
Reverse
Engineering
Model
Repository
Model
Code,
Doc, etc.
Model
Editor(s)
Model
Checker
Model Transformation
M2M M2T
Metamodel(s)
27
ASDSPEC ARCHITECTURE
ASDSpec
makes use of
existing MDSD
architecture
Model
Reverse
Engineering
Model
Repository
Spec
Explorer
Model
SpecExplorer
Cord
Model
Editor(s)
Model
Checker
Model Transformation
M2M M2T
Metamodel(s)
ASD
Interface
models
28
ASDSPEC: TECHNOLOGIES
QVTO
ASD
XML
SE
model
Cord
script
Acceleo
Acceleo
ASD
EMF
SE
EMF
Cord
EMF
QVTO
QVTO
ASDSpec
Model transformations bridge gap between ASD
and Spec Explorer
29
TOOL STATUS
• Tool as an standalone application.
• (Pending) tool will be available as an open source
Eclipse plugin for the Eclipse community.
• For now available on request
• Future steps
– Support data handling/configuration aspects in
ASDSpec, instead of relying on manual additions in
Spec Explorer,
– Supporting other MBT tools.
30
ASDSPEC:
USING BEST OF BOTH WORLDS
• Automatic generation of Spec Explorer test model from existing ASD
interface model
Benefits
• Less effort for model creation
– reuse of existing work
• Testing of complete system including
– Legacy code
– External components
– Data combination testing
– Interaction testing
• Results: High Quality, Reduced cost
Statistical Dynamic
ASDspec
31
CONCLUSIONS
• MDE and MBT technologies have matured a lot in the
latest years
• It is a matter of time….. Evolution…..
32
Using Formal Specifications to
Support Model Based Testing
ASDSpec: A Tool Combining the
Best of Two Techniques
ASD
Static Dynamic
ASDspec
Static Dynamic
ASDspec
34
Source:
On the Use of Verification and
Quantitative
Analysis in Industry
Jozef Hooman
Radboud University Nijmegen
&
Embedded Systems Institute (ESI),
Eindhoven
26 October 2012
TESTING STILL NECESSARY
TESTING STILL NECESSARY
35
Source:
MDD and its impact on
testing...
A nanotech case study
ASD case
Bryan Bakker
EuroSTAR
May 2012
TESTING STILL NECESSARY
36
Source:
Ultrafast development of
an Ultra Fast Scanner
Model-Driven Development Day
2011-04-29
Hans Spitshuis

More Related Content

What's hot

PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...
PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...
PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...Lionel Briand
 
Automatic Generation of System Test Cases from Use Case Specifications
Automatic Generation of System Test Cases from Use Case SpecificationsAutomatic Generation of System Test Cases from Use Case Specifications
Automatic Generation of System Test Cases from Use Case SpecificationsLionel Briand
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testingpriya_trivedi
 
Centralized test automation framework implementation
Centralized test automation framework implementationCentralized test automation framework implementation
Centralized test automation framework implementationBharathi Krishnamurthi
 
Automatic Test Case Generation
Automatic Test Case GenerationAutomatic Test Case Generation
Automatic Test Case GenerationAdnan Causevic
 
Automated software testing
Automated software testingAutomated software testing
Automated software testingMD ISLAM
 
Model-based Testing: Taking BDD/ATDD to the Next Level
Model-based Testing: Taking BDD/ATDD to the Next LevelModel-based Testing: Taking BDD/ATDD to the Next Level
Model-based Testing: Taking BDD/ATDD to the Next LevelBob Binder
 
Volodymyr Prymakov and Vlada Benyukh Detailed manual estimation approach for ...
Volodymyr Prymakov and Vlada Benyukh Detailed manual estimation approach for ...Volodymyr Prymakov and Vlada Benyukh Detailed manual estimation approach for ...
Volodymyr Prymakov and Vlada Benyukh Detailed manual estimation approach for ...Ievgenii Katsan
 
Pragmatic Java Test Automation
Pragmatic Java Test AutomationPragmatic Java Test Automation
Pragmatic Java Test AutomationDmitry Buzdin
 
Database Unit Testing Made Easy with VSTS
Database Unit Testing Made Easy with VSTSDatabase Unit Testing Made Easy with VSTS
Database Unit Testing Made Easy with VSTSSanil Mhatre
 
Software Testing Tools | Edureka
Software Testing Tools | EdurekaSoftware Testing Tools | Edureka
Software Testing Tools | EdurekaEdureka!
 
Model Driven Testing: requirements, models & test
Model Driven Testing: requirements, models & test Model Driven Testing: requirements, models & test
Model Driven Testing: requirements, models & test Gregory Solovey
 
Practical unit testing in c & c++
Practical unit testing in c & c++Practical unit testing in c & c++
Practical unit testing in c & c++Matt Hargett
 
Keyword Driven Automation
Keyword Driven AutomationKeyword Driven Automation
Keyword Driven AutomationPankaj Goel
 
Selenium Tutorial for Beginners | Automation framework Basics
Selenium Tutorial for Beginners | Automation framework BasicsSelenium Tutorial for Beginners | Automation framework Basics
Selenium Tutorial for Beginners | Automation framework BasicsTechcanvass
 
Test cases for effective testing - part 1
Test cases for effective testing - part 1Test cases for effective testing - part 1
Test cases for effective testing - part 1Mona M. Abd El-Rahman
 

What's hot (20)

PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...
PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...
PUMConf: A Tool to Configure Product Specific Use Case and Domain Models in a...
 
Automatic Generation of System Test Cases from Use Case Specifications
Automatic Generation of System Test Cases from Use Case SpecificationsAutomatic Generation of System Test Cases from Use Case Specifications
Automatic Generation of System Test Cases from Use Case Specifications
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
Centralized test automation framework implementation
Centralized test automation framework implementationCentralized test automation framework implementation
Centralized test automation framework implementation
 
Automatic Test Case Generation
Automatic Test Case GenerationAutomatic Test Case Generation
Automatic Test Case Generation
 
Automated software testing
Automated software testingAutomated software testing
Automated software testing
 
Model-based Testing: Taking BDD/ATDD to the Next Level
Model-based Testing: Taking BDD/ATDD to the Next LevelModel-based Testing: Taking BDD/ATDD to the Next Level
Model-based Testing: Taking BDD/ATDD to the Next Level
 
Volodymyr Prymakov and Vlada Benyukh Detailed manual estimation approach for ...
Volodymyr Prymakov and Vlada Benyukh Detailed manual estimation approach for ...Volodymyr Prymakov and Vlada Benyukh Detailed manual estimation approach for ...
Volodymyr Prymakov and Vlada Benyukh Detailed manual estimation approach for ...
 
Pragmatic Java Test Automation
Pragmatic Java Test AutomationPragmatic Java Test Automation
Pragmatic Java Test Automation
 
Presentation Of Mbt Tools
Presentation Of Mbt ToolsPresentation Of Mbt Tools
Presentation Of Mbt Tools
 
Database Unit Testing Made Easy with VSTS
Database Unit Testing Made Easy with VSTSDatabase Unit Testing Made Easy with VSTS
Database Unit Testing Made Easy with VSTS
 
Unit testing
Unit testingUnit testing
Unit testing
 
Software Testing Tools | Edureka
Software Testing Tools | EdurekaSoftware Testing Tools | Edureka
Software Testing Tools | Edureka
 
Model Driven Testing: requirements, models & test
Model Driven Testing: requirements, models & test Model Driven Testing: requirements, models & test
Model Driven Testing: requirements, models & test
 
Practical unit testing in c & c++
Practical unit testing in c & c++Practical unit testing in c & c++
Practical unit testing in c & c++
 
Keyword Driven Automation
Keyword Driven AutomationKeyword Driven Automation
Keyword Driven Automation
 
Test cases
Test casesTest cases
Test cases
 
Testing Tools
Testing ToolsTesting Tools
Testing Tools
 
Selenium Tutorial for Beginners | Automation framework Basics
Selenium Tutorial for Beginners | Automation framework BasicsSelenium Tutorial for Beginners | Automation framework Basics
Selenium Tutorial for Beginners | Automation framework Basics
 
Test cases for effective testing - part 1
Test cases for effective testing - part 1Test cases for effective testing - part 1
Test cases for effective testing - part 1
 

Viewers also liked

Crop circleeval
Crop circleevalCrop circleeval
Crop circleevalgorin2008
 
Facebook Likes and Net Income
Facebook Likes and Net IncomeFacebook Likes and Net Income
Facebook Likes and Net IncomeRobert Boyer
 
A to Z Tutoring- parent presentation
A to Z Tutoring- parent presentationA to Z Tutoring- parent presentation
A to Z Tutoring- parent presentationDenise E Spanish
 
BSB Corporate brochure
BSB Corporate brochureBSB Corporate brochure
BSB Corporate brochureMONDAL CHIMA
 
Expo 1 adm finac
Expo 1 adm finacExpo 1 adm finac
Expo 1 adm finacPaola Cruz
 
Sobre los Conceptos de la Vida y de la Muerte en el Derecho Penal Argentino
Sobre los Conceptos de la Vida y de la Muerte en el Derecho Penal ArgentinoSobre los Conceptos de la Vida y de la Muerte en el Derecho Penal Argentino
Sobre los Conceptos de la Vida y de la Muerte en el Derecho Penal ArgentinoDr_cristiang
 
PRODUCTIVO REPRODUCTIVO
PRODUCTIVO REPRODUCTIVOPRODUCTIVO REPRODUCTIVO
PRODUCTIVO REPRODUCTIVOColaBoraBora
 
Tipos de cartas cd
Tipos de cartas cdTipos de cartas cd
Tipos de cartas cdcarol Merida
 
Lessons from reviewing and synthesising evidence on crime reduction
Lessons from reviewing and synthesising evidence on crime reductionLessons from reviewing and synthesising evidence on crime reduction
Lessons from reviewing and synthesising evidence on crime reductionLisa Tompson
 
Electricity and magnetism
Electricity and magnetismElectricity and magnetism
Electricity and magnetismlola caravaca
 

Viewers also liked (20)

Absence
AbsenceAbsence
Absence
 
Crop circleeval
Crop circleevalCrop circleeval
Crop circleeval
 
The reptiles by jm.
The reptiles by jm.The reptiles by jm.
The reptiles by jm.
 
Python Academy
Python AcademyPython Academy
Python Academy
 
Facebook Likes and Net Income
Facebook Likes and Net IncomeFacebook Likes and Net Income
Facebook Likes and Net Income
 
Salman Qadir Cv
Salman Qadir CvSalman Qadir Cv
Salman Qadir Cv
 
A to Z Tutoring- parent presentation
A to Z Tutoring- parent presentationA to Z Tutoring- parent presentation
A to Z Tutoring- parent presentation
 
Nearpod
NearpodNearpod
Nearpod
 
BSB Corporate brochure
BSB Corporate brochureBSB Corporate brochure
BSB Corporate brochure
 
Expo 1 adm finac
Expo 1 adm finacExpo 1 adm finac
Expo 1 adm finac
 
Sobre los Conceptos de la Vida y de la Muerte en el Derecho Penal Argentino
Sobre los Conceptos de la Vida y de la Muerte en el Derecho Penal ArgentinoSobre los Conceptos de la Vida y de la Muerte en el Derecho Penal Argentino
Sobre los Conceptos de la Vida y de la Muerte en el Derecho Penal Argentino
 
PRODUCTIVO REPRODUCTIVO
PRODUCTIVO REPRODUCTIVOPRODUCTIVO REPRODUCTIVO
PRODUCTIVO REPRODUCTIVO
 
Tipos de cartas cd
Tipos de cartas cdTipos de cartas cd
Tipos de cartas cd
 
Arquitectura Barroca
Arquitectura BarrocaArquitectura Barroca
Arquitectura Barroca
 
Salman Qadir Cv
Salman Qadir CvSalman Qadir Cv
Salman Qadir Cv
 
cvnohphotoE
cvnohphotoEcvnohphotoE
cvnohphotoE
 
Lessons from reviewing and synthesising evidence on crime reduction
Lessons from reviewing and synthesising evidence on crime reductionLessons from reviewing and synthesising evidence on crime reduction
Lessons from reviewing and synthesising evidence on crime reduction
 
Contrato de trabajo
Contrato de trabajoContrato de trabajo
Contrato de trabajo
 
Facebook Presentatie
Facebook PresentatieFacebook Presentatie
Facebook Presentatie
 
Electricity and magnetism
Electricity and magnetismElectricity and magnetism
Electricity and magnetism
 

Similar to Rachid kherrazi-testing-asd-interface-compliance-with-asd spec

Hands-on Experience Model based testing with spec explorer
Hands-on Experience Model based testing with spec explorer Hands-on Experience Model based testing with spec explorer
Hands-on Experience Model based testing with spec explorer Rachid Kherrazi
 
ASDSpec, Model Based Testing
ASDSpec, Model Based TestingASDSpec, Model Based Testing
ASDSpec, Model Based TestingRachid Kherrazi
 
Rhapsody Systems Software
Rhapsody Systems SoftwareRhapsody Systems Software
Rhapsody Systems SoftwareBill Duncan
 
Presentation Verification & Validation
Presentation Verification & ValidationPresentation Verification & Validation
Presentation Verification & ValidationElmar Selbach
 
SF1 - Apex Development Best Practises
SF1 - Apex Development Best PractisesSF1 - Apex Development Best Practises
SF1 - Apex Development Best PractisesSebastian Wagner
 
Modeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDrawModeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDrawGregory Solovey
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsQuontra Solutions
 
Incquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery Labs
Incquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery LabsIncquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery Labs
Incquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery LabsIncQuery Labs
 
DevOps for Machine Learning overview en-us
DevOps for Machine Learning overview en-usDevOps for Machine Learning overview en-us
DevOps for Machine Learning overview en-useltonrodriguez11
 
IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...
IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...
IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...Daniel Varro
 
Rhapsody Software
Rhapsody SoftwareRhapsody Software
Rhapsody SoftwareBill Duncan
 
Hardware-Software allocation specification of IMA systems for early simulation
Hardware-Software allocation specification of IMA systems for early simulationHardware-Software allocation specification of IMA systems for early simulation
Hardware-Software allocation specification of IMA systems for early simulationÁkos Horváth
 
Test automation wipro
Test automation   wiproTest automation   wipro
Test automation wiproambreprasad77
 
Incremental Model Queries for Model-Dirven Software Engineering
Incremental Model Queries for Model-Dirven Software EngineeringIncremental Model Queries for Model-Dirven Software Engineering
Incremental Model Queries for Model-Dirven Software EngineeringÁkos Horváth
 
Recommendations for Building Machine Learning Software
Recommendations for Building Machine Learning SoftwareRecommendations for Building Machine Learning Software
Recommendations for Building Machine Learning SoftwareJustin Basilico
 
A survey on Machine Learning In Production (July 2018)
A survey on Machine Learning In Production (July 2018)A survey on Machine Learning In Production (July 2018)
A survey on Machine Learning In Production (July 2018)Arnab Biswas
 
Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016Modelon
 

Similar to Rachid kherrazi-testing-asd-interface-compliance-with-asd spec (20)

Hands-on Experience Model based testing with spec explorer
Hands-on Experience Model based testing with spec explorer Hands-on Experience Model based testing with spec explorer
Hands-on Experience Model based testing with spec explorer
 
ASDSpec, Model Based Testing
ASDSpec, Model Based TestingASDSpec, Model Based Testing
ASDSpec, Model Based Testing
 
Rhapsody Systems Software
Rhapsody Systems SoftwareRhapsody Systems Software
Rhapsody Systems Software
 
Presentation Verification & Validation
Presentation Verification & ValidationPresentation Verification & Validation
Presentation Verification & Validation
 
SF1 - Apex Development Best Practises
SF1 - Apex Development Best PractisesSF1 - Apex Development Best Practises
SF1 - Apex Development Best Practises
 
Modeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDrawModeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDraw
 
Manualtestingppt
ManualtestingpptManualtestingppt
Manualtestingppt
 
Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra Solutions
 
Incquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery Labs
Incquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery LabsIncquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery Labs
Incquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery Labs
 
DevOps for Machine Learning overview en-us
DevOps for Machine Learning overview en-usDevOps for Machine Learning overview en-us
DevOps for Machine Learning overview en-us
 
IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...
IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...
IncQuery-D: Distributed Incremental Model Queries over the Cloud: Engineerin...
 
Rhapsody Software
Rhapsody SoftwareRhapsody Software
Rhapsody Software
 
Hardware-Software allocation specification of IMA systems for early simulation
Hardware-Software allocation specification of IMA systems for early simulationHardware-Software allocation specification of IMA systems for early simulation
Hardware-Software allocation specification of IMA systems for early simulation
 
Test automation wipro
Test automation   wiproTest automation   wipro
Test automation wipro
 
Incremental Model Queries for Model-Dirven Software Engineering
Incremental Model Queries for Model-Dirven Software EngineeringIncremental Model Queries for Model-Dirven Software Engineering
Incremental Model Queries for Model-Dirven Software Engineering
 
Recommendations for Building Machine Learning Software
Recommendations for Building Machine Learning SoftwareRecommendations for Building Machine Learning Software
Recommendations for Building Machine Learning Software
 
A survey on Machine Learning In Production (July 2018)
A survey on Machine Learning In Production (July 2018)A survey on Machine Learning In Production (July 2018)
A survey on Machine Learning In Production (July 2018)
 
Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016
 
VLSI testing and analysis
VLSI testing and analysisVLSI testing and analysis
VLSI testing and analysis
 

Recently uploaded

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 

Recently uploaded (20)

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 

Rachid kherrazi-testing-asd-interface-compliance-with-asd spec

  • 1. Rachid Kherrazi 8-10-2014 Amsterdam TESTING ASD INTERFACE COMPLIANCE WITH ASDSPEC “A TOOL COMBINING THE BEST OF TWO TECHNIQUES”
  • 2. PEOPLE INVOLVED • Rachid Kherrazi – Sr. Consultant-Project Leader @ Nspyre – Domain • Process and Product Improvement • Model Based Testing and Model Driven Engineering • iSQI Accredited Certified Model Based Tester Trainer • Also : Arjan van Der Meer & Marc Hamilton 2
  • 3. ABOUT NSPYRE MARKET SEGMENTS • High Tech • Traffic & Infra • Industry AREA’S OF EXCELLENCE (Model Based) Systems Engineering /Model Driven Engineering / Model Based Testing /Industrial Automation / Simulation / Big Data / Mobile Solutions 3
  • 4. CONTENTS 1) Introduction to Model Based Testing 2) Generation of test cases form ASD interface model using ASDSpec tool 3) Case Study and Results 4) ASDSpec Technology 4
  • 5. V-MODEL AND MODEL DRIVEN SYSTEM DEVELOPMENT Requirements Analysis System Functional Analysis Design Synthesis SW Analysis & Design SW Implementation & Unit Test Module Integration & Test (Sub-)System Integration &Test Model/RequirementsRepository Model Based System Engineering System Acceptance Some of related technology 5
  • 6. V-MODEL AND MODEL DRIVEN SYSTEM DEVELOPMENT Requirements Analysis System Functional Analysis Design Synthesis SW Analysis & Design SW Implementation & Unit Test Module Integration & Test (Sub-)System Integration &Test Model/RequirementsRepository Model Driven Engineering System Acceptance Some of related technology 6
  • 7. V-MODEL AND MODEL DRIVEN SYSTEM DEVELOPMENT Requirements Analysis System Functional Analysis Design Synthesis SW Analysis & Design SW Implementation & Unit Test Module Integration & Test (Sub-)System Integration &Test Model/RequirementsRepository System Acceptance Model Based Testing Some of related technology 7
  • 8. IntegrationDesign Coding Requirements System test Test case specification (design of logical test case) (reduction of number of test cases by application of test techniques Test execution (reporting) Test case generation (design of physical test case) (selection of input values and calculation of expected results) PAGE 8 TEST PROCESS 3 main steps in test process Module Subsystem System 8
  • 9. MBT IS THE AUTOMATION OF TEST CASE GENERATION Manual Automatic Test specification Test execution Test generation Modelbasedtesting Traditionalmanualtesting Traditionalautomatictesting Manual Scripting Testing skills + Scripting skills + Modeling skills Manual Modeling 9
  • 10. MBT PROCESS IN A NUTSHELL Requirements SUT Expected outputs (Test Oracle) Inputs (Test sequences) Verdict Failed Actual result # expected result Test suite generate author feedback feedback feedback Feedback (via review, model exploration, Model checking) control Test Model Actual outputs Implementation Bug Modeling error Specification error Design error Conformance failures 10
  • 11. EXAMPLE: MODELING WITH SPEC EXPLORER LOOK AND FEEL Explore & Analyze Remodel Generate C# Model (or other .Net Language) Model Graph Test Suite 11 Execute Nunit Note: this is not implementation code, this is the textual Test model (describing the interface behavior)
  • 12. System Under Test WHY ARE MODELS NEEDED FOR TESTING? 12 Component A Component C Component B Unit A1 Unit A2 Unit B1 Unit B2 Unit C1 Unit C2 Unit testing is insufficient - Single unit may work properly in isolation - Incorrect interaction between units may cause serious security/reliability failures System-level testing: - Requires model of externally visible system behavior - Traditional FSM-based testing does not scale - Behavior is often reactive/nondeterministic - Implementation is multi-threaded or distributed - Thread scheduling hard to control - State space is typically infinite
  • 13. SOME BENEFITS OF MODEL BASED • Increased productivity (increased automation) • Better test script maintenance • Improved product reliability (early defect detection) • Agility ( Easily react to new feature changes, Reusability of test semantics, Early test engagement, Drive quality upstream) • Increased employee satisfaction (challenging, new horizon, fun) 13
  • 14. MBT: CHALLENGES AND OPPORTUNITIES Challenges: MBT is not easy: Different mind shift from traditional testing (Modeling skills) and steep learning curve and high ramp up cost (tooling) Opportunities: Modeling skills specialized training and certification  e.g. iSQI Certified MBT training (CMBT)  Nspyre is a iSQI training provider Tooling More (Open Source) supporting integration of modeling, M2M transformation,…  e.g. Nspyre ASDspec 14
  • 15. SUPPORTING TOOLING Manual Automatic Test specification Test execution Test generation Modelbasedtesting Traditionalmanualtesting 15 Testing skills Manual Modeling MBTnext Semi-automatic Modeling Manual Scripting + Scripting skills Modeling skills Traditionalautomatictesting
  • 16. IDEA: REUSE EXISTING MODELS 16 ASD Interface Model ASDSpec SpecExplorer
  • 17. VERUM ASD:SUITE 17 Design model Interface model Requirements Features Use cases Prototype Decomposition Code generation Simulation & verification
  • 18. NSPYRE ASDSPEC 18 Design model Interface model Requirements Features Use cases Prototype Decomposition Test model Test cases ASDspec Code generation Simulation & verification Testing Note: reuse only the Interface model! Design model is not used
  • 19. WHAT IS VERIFIED BY ASD 19 System Under Test Component A (ASD genereted) Component C (ASD genereted) Component B (hand written) Unit A1 Unit A2 Unit B1 Unit B2 Unit C1 Unit C2 ASD verification doesn’t cover: • Handwritten /legacy code • Interaction between generated/handwritten component • Data interaction  With MBT (Spec Explorer) we can cover all the above aspects!
  • 20. ASDSPEC: WORKFLOW Spec Explorer Model Cord file Spec Explorer Test Cases 20 tester /modeler Cord file: • Test Selection /Slicing /Scenario Selection • Data Combination • Model Composition Model: • Interface behavior Spec Explorer (MBT tool): • Generate automatically test cases MBT
  • 21. ASDSPEC: WORKFLOW ASDspec ASD Interface Model Spec Explorer Model Cord Script Spec Explorer Test Cases Reuse existing ASD interface models to generate Spec Explorer MBT models automatically 21 MBT
  • 22. ASDSPEC: DATA AND MODEL COMPOSITION ASDspec ASD Interface Model Spec Explorer Model Cord file Spec Explorer Test Cases Generated model can be extended with any Spec Explorer feature in cord file (config file) 22 Cord file: • Test Selection /Slicing /Scenario Selection • Data Combination • Model Composition MBT
  • 23. USE CASE: CONTAINER TERMINAL • Multiple components • Components need to interact to function • Controller needed to coordinate interaction 23
  • 24. RESULTS: ASD-CONTAINER TERMINAL 24 Higher overall productivity compared to traditional development. Main remaining problems: - Testing interaction and complete system (not fully supported) - Data interaction not fully supported - Debugging of third party library (some bugs found in manual written code, legacy code)  Testing still necessary Productivity
  • 25. Method OVERVIEW OF PROJECT STAGES 25 Use case /SUT Goal Technique Tool Results Stage 1 Container Terminal (CT) Development of control software for the CT Model Driven Engineering + hand written sw ASD:Suite Create design Models + interface models in ASD Generate code Productivity (code generation) c.t. trad. dev - Testing complete system, Interaction, data, external code Stage 2 Container Terminal (CT) Verification of the developed control software of the CT (generated + Hand written) Model based Testing Spec Explorer Create Test Model in Spec Explorer, generate test suite Test Productivity Modeling skills, complexity costs Stage 3 Container Terminal (CT) Verification of the developed control software of the CT (generated + Hand written) Model based Testing ASDspec & Spec Explorer Generate Test Model from existing ASD interface Model , complete Test Model , generate test suite + Productivity (code generation, partial test generation) Testing complete system, Interaction, data, external code (benefits only in case of existing of ASD Models)
  • 26. RESULTS: ASDSPEC- CONTAINER TERMINAL 26 Spec Explorer ASD + ASDSpec Approach Generate test suite Generate test model Techniques MBT MBT/MDE (M2M) Effort/complexity Medium Low Test cases 89 93 Perceived effectiveness Medium High Bugs Some bugs in hand written code /HAL All known bus found • Low effort model creation - Easy reuse of existing work • Testing of complete system - Legacy code, data interaction • High Quality, Cost Reduction
  • 27. GENERAL MDSD ARCHITECTURE Model Reverse Engineering Model Repository Model Code, Doc, etc. Model Editor(s) Model Checker Model Transformation M2M M2T Metamodel(s) 27
  • 28. ASDSPEC ARCHITECTURE ASDSpec makes use of existing MDSD architecture Model Reverse Engineering Model Repository Spec Explorer Model SpecExplorer Cord Model Editor(s) Model Checker Model Transformation M2M M2T Metamodel(s) ASD Interface models 28
  • 30. TOOL STATUS • Tool as an standalone application. • (Pending) tool will be available as an open source Eclipse plugin for the Eclipse community. • For now available on request • Future steps – Support data handling/configuration aspects in ASDSpec, instead of relying on manual additions in Spec Explorer, – Supporting other MBT tools. 30
  • 31. ASDSPEC: USING BEST OF BOTH WORLDS • Automatic generation of Spec Explorer test model from existing ASD interface model Benefits • Less effort for model creation – reuse of existing work • Testing of complete system including – Legacy code – External components – Data combination testing – Interaction testing • Results: High Quality, Reduced cost Statistical Dynamic ASDspec 31
  • 32. CONCLUSIONS • MDE and MBT technologies have matured a lot in the latest years • It is a matter of time….. Evolution….. 32
  • 33. Using Formal Specifications to Support Model Based Testing ASDSpec: A Tool Combining the Best of Two Techniques ASD Static Dynamic ASDspec Static Dynamic ASDspec
  • 34. 34 Source: On the Use of Verification and Quantitative Analysis in Industry Jozef Hooman Radboud University Nijmegen & Embedded Systems Institute (ESI), Eindhoven 26 October 2012 TESTING STILL NECESSARY
  • 35. TESTING STILL NECESSARY 35 Source: MDD and its impact on testing... A nanotech case study ASD case Bryan Bakker EuroSTAR May 2012
  • 36. TESTING STILL NECESSARY 36 Source: Ultrafast development of an Ultra Fast Scanner Model-Driven Development Day 2011-04-29 Hans Spitshuis