• Aucun résultat trouvé

Behavioural Model-Driven Validation of Software Product Lines

N/A
N/A
Protected

Academic year: 2021

Partager "Behavioural Model-Driven Validation of Software Product Lines"

Copied!
2
0
0

Texte intégral

(1)

RESEARCH OUTPUTS / RÉSULTATS DE RECHERCHE

Author(s) - Auteur(s) :

Publication date - Date de publication :

Permanent link - Permalien :

Rights / License - Licence de droit d’auteur :

Bibliothèque Universitaire Moretus Plantin

Institutional Repository - Research Portal

Dépôt Institutionnel - Portail de la Recherche

researchportal.unamur.be

University of Namur

Behavioural Model-Driven Validation of Software Product Lines

Devroey, Xavier; Perrouin, Gilles; Schobbens, Pierre; Heymans, Patrick; Baudry, Benoit

Publication date:

2012

Document Version

Publisher's PDF, also known as Version of record

Link to publication

Citation for pulished version (HARVARD):

Devroey, X, Perrouin, G, Schobbens, P, Heymans, P & Baudry, B 2012, 'Behavioural Model-Driven Validation of

Software Product Lines', 2nd PReCISE Day, University of Namur, Belgium, 24/04/12.

General rights

Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain

• You may freely distribute the URL identifying the publication in the public portal ?

Take down policy

If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim.

(2)

Behavioural Model-Driven Validation of

Software Product Lines

X. Devroey, G. Perrouin, P-Y. Schobbens, P. Heymans, B. Baudry

(INRIA Rennes)

[1] Classen, A.; Modelling and Model Checking Variability-Intensive Systems; Phd

Thesis (FUNDP), 2011

[2] Utting, M. & Legeard, B.; Practical model-based testing: a tools approach;

Morgan Kaufmann, 2007

[3] Classen, A.; Boucher, Q. & Heymans, P.; A Text-based Approach to Feature

Modelling: Syntax and Semantics of TVL; Science of Computer Programming,

Special Issue on Software Evolution, Adaptability and Variability, 2011, 76, 1130-1143

[4] Oster, S.; Wöbbeke, A.; Engels, G. & Schürr, A.; Zander, J.; Schieferdecker, I. &

Mosterman, P. J. (Eds.); Model-Based Software Product Lines Testing Survey;

Model-Based Testing for Embedded Systems, CRC Press, 2011, 688

Bibliography

Contact: xavier.devroey@fundp.ac.be

Highlights

▪ Combining Model-checking and Test-case Generation techniques in a Model-driven [2,4] Quality Assurance Framework

▪ Focus on Variability-aware Behavioural Models

▪ Formal Foundations (e.g. Featured Transition Systems [1]) suitable for Analysis and Checking

▪ Human-centric: Easily Understandable Input Models, Test Criteria and Results

SPL

Functional

Architect/

Analyst

Modelling

Design

&

Validation

SPL

Designer

Requirements

SDVA

model

+

Feature

model

SPL Model

Coverage

criteria

Temporal

Properties

QA Model

Validation

Model

Test generation

Model-checking

2. Product Selection

Model

Transformation

1. Flattening

SPL Design Model

Refined/Additional

models (FTS', FTA, ...)

Coverage

criteria

fLTL/

fCTL

Design QA Model

Unit Test

Cases

Product

QA

Manager

Input/output

Activity

Mandatory

Information

Optional

Information

creates

updates

Coverage

criteria

fLTL/fCTL

Flat QA Model

FTS

model

Feature

model

Flat SPL Model

SPL-oriented

Product-oriented

Test Execution

RT Verification

3. Product Validation

...

Approach Overview

▪ Define State Diagram Variability Analysis (SDVA)

▪ Define coverage criteria language

▪ Define and implement appropriate flattening

algorithm

▪ Propose test reduction and generation techniques

▪ Validate the human focus through specific case

studies

Ongoing and future work

Sponsors

Modelling

Coverage Criteria

selected(f ⋀¬c)

freeDrinks

2. Product Selection:

Selection of relevant test-cases and/or products using:

▪ Test Coverage algorithms

▪ Model Checking techniques [1]

3. Product Validation:

➚ SPL-oriented: seeks exhaustiveness at SPL level using refined FTS

➘ Product-oriented: relies on the QA product manager's knowledge for

in-depth validation

Design & Validation

QA Model

SPL Model

SDVA model

Feature model

VendingMachine

v

CancelPurchase

c

Beverages

b

FreeDrinks

f

Currency

cur

Soda

s

Tea

t

Euro

eur

Dollar

usd

Or

Xor

Optional

FTS Model

1

2

3

4

5

6

7

8

9

pay/

¬f

change/¬f

free / f

take / f

close/¬f

open/¬f

take/¬f

cancel / c

return / c

soda / s

serveSoda / s

tea / t

serveTea / t

1. Flattening

Feature Model (TVL) [3]

root VendingMachine

group allOf {

opt CancelPurchase,

Beverage group SomeOf{Soda,Tea},

opt FreeDrinks,

Currency group oneOf{Euro,Dollar}

}

Collaborators: M. Cordy, E-Y. Kang, A. Legay

(INRIA Rennes)

SodaVendingMachine

Idle

(0)

Pay

Free

Soda

Tea

Retrieve

[t]

[s]

[s]

[t]

Pay

cancel() [c]

Waiting

(1)

Paid

(2)

pay() [¬f]

Changed

(3)

change() [¬f]

Canceled

(4)

return() [c]

Free

Canceled

(4)

ForFree

(3)

free() [f]

Waiting

(1)

cancel() [c]

return() [c]

Soda

serveSoda() [s]

Tea

serveTea() [t]

Retrieve

Opened

(8)

take() [¬f]

Taken

(9)

open() [¬f]

close() [¬f]

take() [f]

(7)

(7)

[f]

[¬f]

X

X

X

X

soda()

tea()

X

X

X

X

soda()

tea()

PrepareSoda

(5)

PrepareTea

(6)

Served

(7)

Références

Documents relatifs

Twenty-eight patients with moderate to severe TBI and 27 matched controls performed a stop-signal task designed to assess prepotent response inhibition (the ability to inhibit

La cooperazione allo sviluppo è stata molto attiva nel campo dell’istruzione e della formazione tecni- ca e professionale (IFTP) fino ai primi anni Novanta, diminuendo in seguito il

Ma l’accesso delle ragazze all’educazione potrebbe fungere da vera e propria leva dello sviluppo, osserva Chrystel Ferret, responsabile dell’unità Genere della DSC: «È

Quelle est la position relative des droites (AB) et (NM) ? Justifie ta réponse. Construis le cercle de diamètre [AB] et appelle S son centre puis construis le symétrique de ce cercle

Le prototypage peut être utilisé dans une spirale pour résoudre le problème de la spécification des besoins, puis il peut être suivi d’un développement basé sur le

multipeptide cancer vaccine, plus suniti-nib versus sunitinib alone, as first-line therapy for advancedor metastatic renal cell carcinoma (IMPRINT): a multicentre,open-label,

Nous avons réalisé un outil de décision capable de déterminer la taille de la table TDMA appropriée et de sélectionner, pour chaque communication, les slots qu’elle doit utiliser

III.3 HgTe nanocrystals for infrared electroluminescence and active imaging As introduced in the previous part of LED, in the visible range, electrically driven quantum dot light