23.11.2014 Views

Méthodes pour la validation de modèles formels pour la ... - ISAE

Méthodes pour la validation de modèles formels pour la ... - ISAE

Méthodes pour la validation de modèles formels pour la ... - ISAE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapitre 4<br />

Processus <strong>pour</strong> <strong>la</strong> <strong>validation</strong> <strong>de</strong><br />

modèle AltaRica<br />

Sommaire<br />

4.1 Avant propos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103<br />

4.1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103<br />

4.1.2 Pourquoi faire du test ? . . . . . . . . . . . . . . . . . . . . . . . . . 104<br />

4.2 Processus <strong>de</strong> <strong>validation</strong> du modèle AltaRica . . . . . . . . . . . . . . . . . . 105<br />

4.2.1 Différents niveaux <strong>de</strong> <strong>validation</strong> . . . . . . . . . . . . . . . . . . . . . 106<br />

4.2.2 Proposition <strong>de</strong> processus général . . . . . . . . . . . . . . . . . . . . 106<br />

4.2.3 Un processus adapté à <strong>la</strong> <strong>validation</strong> unitaire . . . . . . . . . . . . . . 107<br />

4.3 Vocabu<strong>la</strong>ire du test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108<br />

4.3.1 C’est quoi le test ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108<br />

4.3.2 Test et jeu <strong>de</strong> tests . . . . . . . . . . . . . . . . . . . . . . . . . . . 109<br />

4.3.3 Test boîte noire - Test boîte b<strong>la</strong>nche . . . . . . . . . . . . . . . . . . 110<br />

4.3.4 Couverture <strong>de</strong> modèle, Critère <strong>de</strong> couverture . . . . . . . . . . . . . . 111<br />

4.4 Sélection <strong>de</strong> cas <strong>de</strong> test <strong>pour</strong> un modèle AltaRica . . . . . . . . . . . . . . . 115<br />

4.4.1 Validation unitaire : Génération d’un jeu <strong>de</strong> tests <strong>pour</strong> le modèle AltaRica115<br />

4.4.2 Génération <strong>de</strong> cas <strong>de</strong> test <strong>pour</strong> <strong>la</strong> <strong>validation</strong> <strong>de</strong> l’intégration . . . . . 118<br />

4.4.3 Génération <strong>de</strong> cas <strong>de</strong> test <strong>pour</strong> <strong>la</strong> <strong>validation</strong> système . . . . . . . . . 120<br />

4.5 Critère <strong>de</strong> couverture <strong>de</strong> <strong>modèles</strong> AltaRica par <strong>de</strong>s tests . . . . . . . . . . . . 121<br />

4.5.1 Forme Normale Disjonctive (FND) . . . . . . . . . . . . . . . . . . . 121<br />

4.5.2 Critères <strong>de</strong> couverture <strong>de</strong>s assertions d’un modèle AltaRica . . . . . . 124<br />

4.5.3 Critères <strong>de</strong> couverture <strong>de</strong>s transitions d’un modèle AltaRica . . . . . . 128<br />

4.6 Implémentation <strong>de</strong>s critères <strong>de</strong> couverture . . . . . . . . . . . . . . . . . . . 130<br />

4.6.1 Implémentation <strong>de</strong>s critères <strong>de</strong> couverture d’une transition . . . . . . 130<br />

4.6.2 Implémentation <strong>de</strong>s critères <strong>de</strong> couverture d’une assertion . . . . . . . 132<br />

4.7 Retours sur l’approche <strong>de</strong> <strong>validation</strong> unitaire proposée . . . . . . . . . . . . . 134<br />

4.7.1 Comment assurer <strong>la</strong> traçabilité ? . . . . . . . . . . . . . . . . . . . . 134<br />

4.7.2 Retours sur l’implémentation proposée . . . . . . . . . . . . . . . . . 135<br />

4.7.3 Retours sur <strong>la</strong> phase <strong>de</strong> simu<strong>la</strong>tion . . . . . . . . . . . . . . . . . . . 136<br />

101

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!