Rozdziały kursu
Szkolenia · Ścieżka 4. Dokumenty i produkty końcowe · Rozdział 4.2 z 5
4.2 Macierze na żywo w dokumentach 2:48
Wstawiaj tabele RVTM i RTM, które same odbudowują się z modelu.
Pokazuje Holarch 1.27.
Czego się nauczysz
- Wstawianie macierzy na żywo do tekstu dokumentu i wybieranie jej zakresu
- Odczytywanie luk wyróżnionych w macierzy
- Zamykanie luki w modelu i obserwowanie aktualizacji macierzy
- Standardowe macierze i to, co każda z nich oznacza jako lukę
Zastąp pustą tabelę weryfikacji w specyfikacji stacji Bike-Share Dock macierzą identyfikowalności weryfikacji wymagań na żywo, wybierz jej zakres, odczytaj wyróżnione luki, zamknij jedną z nich w modelu i zobacz aktualizację macierzy, a następnie w ten sam sposób dodaj macierz identyfikowalności wymagań.
Pliki projektu
- Projekt początkowy (.holarch.json; Zarządzaj projektami → Pliki projektu ▾ → Importuj projekt (.json)…)
- Projekt ukończony (.holarch.json; Zarządzaj projektami → Pliki projektu ▾ → Importuj projekt (.json)…)
Film jest odtwarzany z holarch.app; zobacz Politykę prywatności.
Ćwiczenie
Wykonaj to samodzielnie w Holarch, w projekcie demonstracyjnym CubeSat EO-1.
- Otwórz swój projekt demonstracyjny EO-1 lub go utwórz: Zarządzaj projektami → Pliki projektu ▾ → Nowy projekt demonstracyjny → CubeSat (inżynieria systemów z przewodnikiem).
- Otwórz Potrzeby i wymagania → Dokumenty → EO-1 System Requirements Specification i kliknij opis sekcji 2 Attitude Determination and Control, aby go edytować.
- Na pasku narzędzi tekstu sformatowanego otwórz + i wybierz Macierz…. Wybierz Macierz alokacji wymagań, pozostaw zakres na tym dokumencie, kliknij Wstaw i naciśnij ⌘ / Ctrl↵, aby zapisać.
- Przeczytaj podpis i zacieniowane wiersze. 2.5 Safe Mode Recovery to luka: nic go nie spełnia.
- Zaznacz 2.5 i w jego sekcji Ślad powiąż F10 Enter Safe Mode w pozycji satisfied by. Wróć do sekcji 2 i ponownie odczytaj macierz.
Gotowe, gdy wiersz 2.5 macierzy alokacji wymienia F10 Enter Safe Mode i nie jest już zacieniowany.
Sprawdź się
- Czym macierz na żywo różni się od tabeli wpisywanej ręcznie?
- Dlaczego lukę zamyka się w modelu, a nie w macierzy?
- Jakie zakresy może obejmować macierz?
Pokaż odpowiedzi
Czym macierz na żywo różni się od tabeli wpisywanej ręcznie?
Blok przechowuje tylko informację, którą macierz i jaki zakres pokazać. Holarch odbudowuje wiersze z modelu przy każdym wyświetleniu lub eksporcie dokumentu, więc macierz nigdy nie traci aktualności.
Dlaczego lukę zamyka się w modelu, a nie w macierzy?
Macierzy na żywo nie można edytować komórka po komórce. Luka to brakujące powiązanie lub atrybut w modelu, a poprawienie go tam aktualizuje każdą macierz i każdy widok, który go pokazuje.
Jakie zakresy może obejmować macierz?
Elementy jednego dokumentu, wszystkie części kompilacji lub cały projekt. Macierze interfejsów i N² mogą też obejmować elementy podrzędne jednego Asset lub Action.
Więcej informacji
Transkrypcja
Pokaż transkrypcję (narracja i to, co widać na ekranie)
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.