Holarch
Capítulos do curso

Treinamento · Trilha 4. Documentos e entregáveis · Capítulo 4.2 de 5

4.2 Matrizes ao vivo em documentos 2:48

Insira tabelas RVTM e RTM que se reconstroem sozinhas a partir do modelo.

Mostra o Holarch 1.27.

← 4.1 Modelos de documento · Todos os capítulos · 4.3 Saída em Word e Excel →

O que você vai aprender

  • Inserir uma matriz ao vivo no texto de um documento e escolher seu escopo
  • Ler as lacunas que uma matriz destaca
  • Fechar uma lacuna no modelo e ver a matriz se atualizar
  • Citar as matrizes padrão e o que cada uma sinaliza como lacuna

Substitua a tabela de verificação vazia da especificação da Bike-Share Dock por uma matriz de rastreabilidade de verificação de requisitos ao vivo, escolha seu escopo, leia as lacunas que ela destaca, feche uma no modelo e veja a matriz se atualizar; depois adicione da mesma forma uma matriz de rastreabilidade de requisitos.

Arquivos de projeto

  • Projeto inicial (.holarch.json; Gerenciar projetos → Arquivos de projeto ▾ → Importar projeto (.json)…)
  • Projeto concluído (.holarch.json; Gerenciar projetos → Arquivos de projeto ▾ → Importar projeto (.json)…)

O vídeo é reproduzido a partir de holarch.app; veja a Política de Privacidade.

Prática

Faça isto você mesmo no Holarch, no projeto de demonstração CubeSat EO-1.

  1. Abra seu projeto de demonstração EO-1 ou crie-o: Gerenciar projetos → Arquivos de projeto ▾ → Novo projeto de demonstração → CubeSat (engenharia de sistemas guiada).
  2. Abra Necessidades e requisitos → Documentos → EO-1 System Requirements Specification e clique na descrição da seção 2 Attitude Determination and Control para editá-la.
  3. Na barra de ferramentas de rich text, abra + e escolha Matriz…. Escolha Matriz de alocação de requisitos, mantenha o escopo neste documento, clique em Inserir e pressione ⌘ / Ctrl↵ para salvar.
  4. Leia a legenda e as linhas sombreadas. 2.5 Safe Mode Recovery é uma lacuna: nada o atende.
  5. Selecione 2.5 e, na sua seção Rastreabilidade, vincule F10 Enter Safe Mode em satisfied by. Volte à seção 2 e leia a matriz de novo.

Você terminou quando a linha 2.5 da matriz de alocação listar F10 Enter Safe Mode e não estiver mais sombreada.

Teste-se

  1. Em que uma matriz ao vivo difere de uma tabela que você digita?
  2. Por que você fecha uma lacuna no modelo, e não na matriz?
  3. Quais escopos uma matriz pode cobrir?
Mostrar as respostas
  1. Em que uma matriz ao vivo difere de uma tabela que você digita?

    O bloco guarda apenas qual matriz e qual escopo mostrar. O Holarch reconstrói as linhas a partir do modelo toda vez que o documento é exibido ou exportado, então ela nunca fica desatualizada.

  2. Por que você fecha uma lacuna no modelo, e não na matriz?

    Uma matriz ao vivo não pode ser editada célula por célula. A lacuna é um vínculo ou atributo que falta no modelo, e corrigi-la ali atualiza todas as matrizes e visões que a mostram.

  3. Quais escopos uma matriz pode cobrir?

    Os itens de um documento, todas as partes de uma compilação ou o projeto inteiro. As matrizes de interfaces e N² também podem cobrir os filhos de um Asset ou de uma Action.

Saiba mais

Transcrição

Mostrar a transcrição (narração e o que aparece na tela)

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.