Restaurant_base.qea
Enterprise Architect project ver. 17.x (base for exercise)
Payer
(Enterprise Architect) ☛Business Usecase
(Enterprise Architect) ☛Cas d'utilisation
« Boire », « Commander », « Commander avec modif. plat(s) », « Diner », « Se restaurer », « Déjeuner », « Dresser la table », « Débarrasser la table », « Payer », etc.
Exercise
- UML Use Case Diagram
-right click-
(Payer
) ⇝Properties… -Properties-
⤳ requirement(s), constraints (pre-condition(s), post-condition(s)) and scenario(s) ofPayer
use case
- Requirement ⤳
Action terminale du processus de restauration
- Pre-condition ⤳
Moyen de paiement disponible
- Post-condition ⤳
Table libérée
- Scenario (nominal, i.e.,
Basic Path
) ⤳Processus normal
=Choisir moyen de paiement;
Vérifier note;
Procéder paiement;
Quitter table
- Scenario (
Alternate
) ⤳Grivèlerie
as alternative ofProcéder paiement
- UML Activity Diagram
Tip:
Structure Editor…
to access scenario content
Payer
(Enterprise Architect)Business Usecase
(Enterprise Architect)Exercise
Business Usecase
(a.k.a. use case narrative) Document Template ⤳Restaurant.rtf
Key action(s)
Settings
⇝Resources -Reference Data-
⤳ access toResources
tab of browser
Report Templates
⇝Documents Templates
⇝Templates
⇝Business Usecase
⤳-double click-
⤳ read only modeReport Templates
⇝Documents Templates
⇝Fragments
⇝Business Usecase-Scenario
⤳-double click-
⤳ read only modePublish
⇝Report Builder -Model Reports-
⤳ publication ⇝Generate Documentation -Report-
Document Template ⤳
Business Usecase
Template Fragment ⤳
Business Usecase-Scenario
Publication
Restaurant.rtf
document
Key action(s)
-right click-
(package within browser) ⇝Specification Manager
orDesign
⇝Specification View -Package-
Specify
⇝Show Columns -Display-
⤳Field Chooser
Specify
⇝Documentation -Element-
⇝Generate Documentation (DOCX/PDF/RTF)…
Key action(s)
-right click-
(diagram within browser) ⇝Switch View
⇝Switch to Relation Matrix View
Layout
⇝Pan and Zoom -Tools-
-left click-
(element within browser) ⇝Inspector
⤳Scenarios
Test Case (internal)
-left click-
(element within browser) ⇝Inspector
⤳Scenarios
Construct
(element within browser) ⇝Tests -Test Management-
⤳Scenario -Tests-
⤳Test Cases Window
opens up withTest Record
items with “Scenario” class (Full Test Suite
gathers all classes)Test Case (external)
Exercise
- Execute
Payer behavior
process:-right click-
(Payer behavior
UML Activity Diagram content) ⇝Execute Simulation
⇝Manual simulation
- Update
Result
ofBasic Path
Test Record
item toPass