Holarch
Capitoli del corso

Formazione · Percorso 2. Requisiti e verifica · Capitolo 2.5 di 6

2.5 La verifica e il Centro test 2:55

Pianificare come viene verificato ogni requisito, scrivere un caso di test con i passi ed eseguirlo.

Mostra Holarch 2.13.

← 2.4 Baseline e collegamenti da rivedere · Tutti i capitoli · 2.6 RVTM e VCRM →

Che cosa si impara

  • Scegliere un metodo di verifica per un requisito: ispezione, analisi, dimostrazione o test
  • Pianificare nel Centro test il metodo di verifica, il livello e i criteri di successo di un requisito
  • Creare una suite di test e un caso di test che verifica un requisito, con i passi
  • Eseguire un test e registrarne il risultato

Pianificare la verifica della Bike-Share Dock: un metodo, un livello e criteri di successo per ogni requisito, una suite di test con un caso di test che verifica un requisito, una procedura passo per passo e un’esecuzione nel Centro test che registra il risultato.

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.

  1. Aprire il proprio progetto demo EO-1 (oppure crearlo: Gestisci progetti → File di progetto ▾ → Nuovo progetto demo → CubeSat (ingegneria dei sistemi guidata)).
  2. Aprire Verifica → Centro test e scorrere fino a Copertura della verifica. Su 4.4 Downlink Encryption, assicurarsi che C sia attivo, scegliere Sottosistema in Livello… e aggiungere i criteri di successo con + Criteri.
  3. Fare clic su + Nuovo ▾ → Suite di test… nell’intestazione della pagina, numerarla TS-4, chiamarla Mission Analyses e fare clic su Crea. Sulla sua scheda, fare clic su + Caso di test, chiamarlo Daily Collection Volume Analysis e fare clic su + in Verifica per scegliere 1.5 Daily Collection Volume (il suo metodo è Analisi e non ha ancora un test).
  4. Digitare il Risultato atteso, poi fare clic su + Passi, aggiungere due passi, ciascuno con un’azione e un risultato atteso, e fare clic su Applica.
  5. Sulla scheda TS-4, scegliere ⋯ → Esegui ciclo…, registrare ogni passo, descrivere il Risultato effettivo e fare clic su ✔ Superato.
  6. Per una procedura guidata con verifica, eseguire il tutorial 9 Verificare i requisiti (Guida → Tutorial).

L’esercizio è completato quando Daily Collection Volume Analysis mostra Superato con il proprio nome e la data, e 1.5 esce dall’elenco Non verificato.

Verifica

  1. Quale metodo si addice a un requisito per una durata della missione di 730 giorni, e perché?
  2. Perché stabilire i criteri di successo prima di scrivere il caso di test?
  3. Che cosa cambia un caso di test superato sul requisito che verifica?
Mostra le risposte
  1. Quale metodo si addice a un requisito per una durata della missione di 730 giorni, e perché?

    Analisi: la durata non può essere misurata prima del lancio, quindi la si dimostra con un calcolo, come una stima di affidabilità.

  2. Perché stabilire i criteri di successo prima di scrivere il caso di test?

    Indicano il risultato misurabile che dimostra il soddisfacimento del requisito, così il test viene progettato in funzione di quel risultato e non di ciò che il test si trova a misurare.

  3. Che cosa cambia un caso di test superato sul requisito che verifica?

    Lo stato di verifica del requisito diventa verificato, e il requisito esce dall’elenco Non verificato nella scheda di copertura e nella RVTM.

Per saperne di più

Trascrizione

Mostra la trascrizione (narrazione e contenuto dello schermo)

Introduction

Chapter five: verification and the Test Center. A requirement is only met when someone shows it is met. Verification plans how, and the Test Center records what happened.

We plan and run the first test for the Bike-Share Dock.

Plan verification

There are four ways to verify a requirement. Inspection looks at the product. Analysis shows it by calculation or simulation. Demonstration shows it working, without measuring. And test measures it under controlled conditions.

On screen: Card: verification methods.

Open Verification, then Test Center. Requirement Verification Coverage lists every requirement that is not verified yet. For Pay at the Kiosk, the method is already Test. Set the level to System, and add success criteria: the measurable outcome that shows the requirement is met.

On screen: Test Center → coverage → Pay at the Kiosk → Level → + Criteria.

Show Available Bikes is easiest to verify by demonstration: show the kiosk displaying the numbers. Click D on its row.

On screen: Show Available Bikes → D.

Test cases

Tests live in suites. Click New, choose Test Suite, give it the number TS-1 and the name Kiosk Acceptance Tests, and click Create.

On screen: + New ▾ → Test Suite… → TS-1 Kiosk Acceptance Tests.

On the suite, click Test Case, and name it Card Payment Time Test. Then click the plus in its Verifies column, and pick Pay at the Kiosk.

On screen: + Test Case → name → Verifies + → 5.1.1.

Type the expected result, and add the procedure as steps: click Steps, add each step with its action and expected result, and click Apply.

On screen: Expected Result; + Steps → two steps → Apply.

Run

Now run it. Click Run Tests. The dialog shows the procedure, the steps and the expected result. Record each step, describe the actual result, and click Pass.

On screen: Run Tests → step results → actual result → Pass.

The result is recorded with the tester, the date and the steps, and the test case now shows Passed. Close the dialog.

On screen: Close → Passed.

Recap

Let's recap. You learned the four verification methods, planned a method, level and success criteria, created a suite and a test case that verifies a requirement, wrote its steps, and ran it.

Next, the verification matrices: the RVTM and the VCRM, in Holarch and in Word and Excel.