Capitoli del corso
Formazione · Percorso 4. Documenti e deliverable · Capitolo 4.2 di 5
4.2 Matrici dinamiche nei documenti 2:48
Inserire tabelle RVTM e RTM che si ricostruiscono da sole dal modello.
Mostra Holarch 1.27.
Che cosa si impara
- Inserire una matrice dinamica nel testo di un documento e sceglierne l’ambito
- Leggere le lacune che una matrice evidenzia
- Chiudere una lacuna nel modello e vedere la matrice aggiornarsi
- Indicare le matrici standard e che cosa ciascuna segnala come lacuna
Sostituire la tabella di verifica vuota nella specifica della Bike-Share Dock con una matrice dinamica di tracciabilità della verifica dei requisiti, sceglierne l’ambito, leggere le lacune che evidenzia, chiuderne una nel modello e osservare l’aggiornamento della matrice, poi aggiungere allo stesso modo una matrice di tracciabilità dei requisiti.
File di progetto
- Progetto iniziale (.holarch.json; Gestisci progetti → File di progetto ▾ → Importa progetto (.json)…)
- Progetto completato (.holarch.json; Gestisci progetti → File di progetto ▾ → Importa progetto (.json)…)
Il video viene riprodotto da holarch.app; vedere l’Informativa sulla privacy.
Esercitazione
Provare in prima persona in Holarch, sul progetto demo CubeSat EO-1.
- Aprire il proprio progetto demo EO-1, oppure crearlo: Gestisci progetti → File di progetto ▾ → Nuovo progetto demo → CubeSat (ingegneria dei sistemi guidata).
- Aprire Esigenze e requisiti → Documenti → EO-1 System Requirements Specification e fare clic sulla descrizione della sezione 2 Attitude Determination and Control per modificarla.
- Nella barra degli strumenti del testo formattato, aprire + e scegliere Matrice…. Scegliere Matrice di allocazione dei requisiti, mantenere l’ambito su questo documento, fare clic su Inserisci e premere ⌘ / Ctrl↵ per salvare.
- Leggere la didascalia e le righe ombreggiate. 2.5 Safe Mode Recovery è una lacuna: nulla lo soddisfa.
- Selezionare 2.5 e, nella sua sezione Traccia, collegare F10 Enter Safe Mode sotto satisfied by. Tornare alla sezione 2 e rileggere la matrice.
L’esercizio è completato quando la riga 2.5 della matrice di allocazione elenca F10 Enter Safe Mode e non è più ombreggiata.
Verifica
- In che cosa una matrice dinamica differisce da una tabella digitata?
- Perché una lacuna si chiude nel modello e non nella matrice?
- Quali ambiti può coprire una matrice?
Mostra le risposte
In che cosa una matrice dinamica differisce da una tabella digitata?
Il blocco memorizza solo quale matrice e quale ambito mostrare. Holarch ricostruisce le righe dal modello ogni volta che il documento viene mostrato o esportato, quindi non diventa mai obsoleto.
Perché una lacuna si chiude nel modello e non nella matrice?
Una matrice dinamica non si può modificare cella per cella. La lacuna è un collegamento o un attributo mancante nel modello, e correggerla lì aggiorna ogni matrice e vista che la mostra.
Quali ambiti può coprire una matrice?
Gli elementi di un documento, tutte le parti di una raccolta o l’intero progetto. Le matrici delle interfacce e N² possono coprire anche i figli di un Asset o di un’Action.
Per saperne di più
Trascrizione
Mostra la trascrizione (narrazione e contenuto dello schermo)
Introduction
Chapter two: live matrices in documents. Reviewers ask for traceability and verification matrices. In Holarch you don't fill them in by hand: a matrix in a document is rebuilt from the model whenever it is shown or exported.
You will insert a verification matrix into a specification, choose its scope, read the gaps it highlights, close a gap in the model, and add a traceability matrix.
Insert a matrix
Open the Bike-Share Dock system requirements. Its template ends with a verification approach, and section 11.1, Verification Matrix, holds an empty table to fill in by hand.
On screen: Documents → the SRS → Outline → 11.1 Verification Matrix.
Replace it with a live matrix. Click the section's text to edit it, select the empty table, and delete it.
On screen: Edit 11.1 → select → delete.
Open the plus menu, and choose Matrix. Pick the Requirements Verification Traceability Matrix. The scope starts on this document, which holds three of the project's six requirements. Choose Whole project, to cover them all.
On screen: + → Matrix… → RVTM → Scope: Whole project.
The preview lists each requirement with its verification method, its level, the test cases that verify it, and its status. Click Insert, then press Command Return to save the text.
On screen: Insert → Save.
Read the gaps
The matrix sits in the document with a dashed outline. Two rows are shaded as gaps. Show Available Bikes has a method but no test case yet. Anchored Without Digging has no verification method at all.
On screen: The live RVTM in 11.1, two gaps.
Close a gap
Close one gap in the model. Go to section 10, and select 10.2, Anchored Without Digging. In the inspector, click + Label and choose Inspection. The verification method is both a label and an attribute, so either one sets it.
On screen: Outline → 10.2 → inspector + Label → Inspection.
Go back to the matrix. The row for 10.2 now shows Inspection, without touching the matrix. It is still shaded, because no test case verifies it yet: the matrix shows the model as it is.
On screen: Outline → 11.1: the 10.2 row now shows Inspection.
Add an RTM
Add a traceability matrix the same way. Go to section 12, Traceability, edit its text, and insert the Requirements Traceability Matrix for the whole project: each requirement with its parent, the needs it traces from, what it traces to, and what satisfies it.
On screen: 12 Traceability → + → Matrix… → RTM → Whole project → Insert → Save.
Recap
The verification cross-reference matrix, with one column per method, works the same way. Let's recap. You inserted live matrices, chose their scope, read the gaps, and closed one in the model.
Next, you turn the document and its matrices into Word and Excel files.