Kurs bölümleri
Eğitim · Kurs 2. Gereksinimler ve doğrulama · Bölüm 2.5 / 6
2.5 Doğrulama ve Test Merkezi 2:55
Her gereksinimin nasıl doğrulanacağını planlayın, adımları olan bir test senaryosu yazın ve çalıştırın.
Holarch 2.13 sürümünü gösterir.
Neler öğreneceksiniz
- Bir gereksinim için doğrulama yöntemi seçin: inceleme, analiz, gösterim veya test
- Test Merkezi'nde bir gereksinimin doğrulama yöntemini, düzeyini ve başarı ölçütlerini planlayın
- Bir gereksinimi doğrulayan, adımları olan bir test paketi ve bir test senaryosu oluşturun
- Bir testi çalıştırın ve sonucunu kaydedin
Bike-Share Dock için doğrulamayı planlayın: her gereksinim için bir yöntem, bir düzey ve başarı ölçütleri, bir gereksinimi doğrulayan bir test senaryosu içeren bir test paketi, adım adım bir prosedür ve Test Merkezi'nde sonucu kaydeden bir çalıştırma.
Proje dosyaları
- Başlangıç projesi (.holarch.json; Projeleri yönet → Proje dosyaları ▾ → Proje içe aktar (.json)…)
- Bitmiş proje (.holarch.json; Projeleri yönet → Proje dosyaları ▾ → Proje içe aktar (.json)…)
Video holarch.app'ten oynatılır; bkz. Gizlilik Politikası.
Alıştırma
Bunu Holarch'ta, CubeSat EO-1 demo projesinde kendiniz yapın.
- EO-1 demo projenizi açın (veya oluşturun: Projeleri yönet → Proje dosyaları ▾ → Yeni demo proje → CubeSat (Rehberli sistem mühendisliği)).
- Doğrulama → Test Merkezi'ni açın ve Doğrulama kapsamı'na kaydırın. 4.4 Downlink Encryption üzerinde İ'nın açık olduğundan emin olun, Düzey… altında Alt sistem'i seçin ve + Ölçütler ile başarı ölçütleri ekleyin.
- Sayfa başlığında + Yeni ▾ → Test paketi…'ne tıklayın, numarasını
TS-4, adınıMission Analyseskoyun ve Oluştur'a tıklayın. Kartında + Test senaryosu'na tıklayın, adınıDaily Collection Volume Analysiskoyun ve 1.5 Daily Collection Volume'ı seçmek için Doğruladıkları'ndaki +'ya tıklayın (yöntemi Analiz'dir ve henüz testi yoktur). - Beklenen sonuç'u yazın, ardından + Adımlar'a tıklayın, her biri bir eylem ve bir beklenen sonuç içeren iki adım ekleyin ve Uygula'ya tıklayın.
- TS-4 kartında ⋯ → Döngüyü çalıştır…'ı seçin, her adımı kaydedin, Gerçek sonuç'u açıklayın ve ✔ Başarılı'ya tıklayın.
- Denetimli bir adım adım anlatım için 9 Verify the Requirements öğreticisini çalıştırın (Yardım → Öğreticiler).
Daily Collection Volume Analysis adınız ve tarihle Başarılı gösterdiğinde ve 1.5 Doğrulanmadı listesinden çıktığında işiniz bitmiştir.
Kendinizi sınayın
- 730 günlük görev ömrü gereksinimine hangi yöntem uyar ve neden?
- Başarı ölçütleri neden test senaryosu yazılmadan önce belirlenmeli?
- Başarılı bir test senaryosu doğruladığı gereksinimde neyi değiştirir?
Yanıtları göster
730 günlük görev ömrü gereksinimine hangi yöntem uyar ve neden?
Analiz: ömür fırlatmadan önce ölçülemez, bu yüzden güvenilirlik tahmini gibi bir hesaplamayla gösterilir.
Başarı ölçütleri neden test senaryosu yazılmadan önce belirlenmeli?
Gereksinimin karşılandığını gösteren ölçülebilir sonucu belirtirler; böylece test, testin tesadüfen ölçtüğü şeye göre değil, o sonuca göre tasarlanır.
Başarılı bir test senaryosu doğruladığı gereksinimde neyi değiştirir?
Gereksinimin doğrulama durumu doğrulandı olur ve kapsam kartındaki ve RVTM'deki Doğrulanmadı listesinden çıkar.
Daha fazla bilgi
Döküm
Dökümü göster (anlatım ve ekranda görünenler)
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.