פרקי הקורס
הדרכה · מסלול 2. דרישות ואימות · פרק 2.5 מתוך 6
2.5 אימות ומרכז הבדיקות 2:55
מתכננים איך כל דרישה מאומתת, כותבים מקרה בדיקה עם שלבים ומריצים אותו.
מציג את Holarch 2.13.
מה תלמדו
- לבחור שיטת אימות לדרישה: בחינה, ניתוח, הדגמה או בדיקה
- לתכנן במרכז הבדיקות את שיטת האימות, הרמה וקריטריוני ההצלחה של דרישה
- ליצור חבילת בדיקות ומקרה בדיקה שמאמת דרישה, עם שלבים
- להריץ בדיקה ולתעד את התוצאה שלה
מתכננים אימות עבור Bike-Share Dock: שיטה, רמה וקריטריוני הצלחה לכל דרישה, חבילת בדיקות עם מקרה בדיקה שמאמת דרישה, נוהל שלב אחר שלב, והרצה במרכז הבדיקות שמתעדת את התוצאה.
קובצי פרויקט
- פרויקט התחלה (.holarch.json; ניהול פרויקטים ← קובצי פרויקט ▾ ← ייבוא פרויקט (.json)…)
- פרויקט גמור (.holarch.json; ניהול פרויקטים ← קובצי פרויקט ▾ ← ייבוא פרויקט (.json)…)
הסרטון מוצג מ-holarch.app; ראו את מדיניות הפרטיות.
תרגול
עשו זאת בעצמכם ב-Holarch, על פרויקט ההדגמה CubeSat EO-1.
- פותחים את פרויקט ההדגמה EO-1 (או יוצרים אותו: ניהול פרויקטים ← קובצי פרויקט ▾ ← פרויקט הדגמה חדש ← CubeSat (הנדסת מערכות מודרכת)).
- פותחים את אימות ← מרכז הבדיקות וגוללים אל כיסוי אימות. ב-4.4 Downlink Encryption מוודאים ש-נ פעיל, בוחרים תת-מערכת תחת רמה…, ומוסיפים קריטריוני הצלחה עם + קריטריונים.
- לוחצים על + חדש ▾ ← חבילת בדיקות… בכותרת הדף, נותנים לה את המספר
TS-4ואת השםMission Analysesולוחצים על יצירה. בכרטיס שלה לוחצים על + Test Case, נותנים לו את השםDaily Collection Volume Analysis, ולוחצים על + ב-verifies כדי לבחור את 1.5 Daily Collection Volume (השיטה שלה היא Analysis ועדיין אין לה בדיקה). - מקלידים את התוצאה הצפויה, ואז לוחצים על + שלבים, מוסיפים שני שלבים, לכל אחד פעולה ותוצאה צפויה, ולוחצים על החלה.
- בכרטיס TS-4 בוחרים ⋯ ← הרצת מחזור…, מתעדים כל שלב, מתארים את תוצאה בפועל ולוחצים על ✔ הצלחה.
- להדרכה מודרכת עם בדיקה, מריצים את מדריך 9 Verify the Requirements (עזרה ← מדריכים).
סיימתם כש-Daily Collection Volume Analysis מציג Passed עם השם שלכם והתאריך, ו-1.5 יוצאת מרשימת “לא אומת”.
בדיקה עצמית
- איזו שיטה מתאימה לדרישה של אורך חיי משימה של 730 יום, ולמה?
- למה להגדיר קריטריוני הצלחה לפני כתיבת מקרה הבדיקה?
- מה משנה מקרה בדיקה שעבר בדרישה שהוא מאמת?
הצגת התשובות
איזו שיטה מתאימה לדרישה של אורך חיי משימה של 730 יום, ולמה?
Analysis: אי אפשר למדוד את אורך החיים לפני השיגור, ולכן מראים אותו בחישוב, כמו הערכת אמינות.
למה להגדיר קריטריוני הצלחה לפני כתיבת מקרה הבדיקה?
הם מגדירים את התוצאה המדידה שמראה שהדרישה מתקיימת, כך שהבדיקה מתוכננת לתוצאה הזו ולא למה שהבדיקה במקרה מודדת.
מה משנה מקרה בדיקה שעבר בדרישה שהוא מאמת?
סטטוס האימות של הדרישה הופך ל-verified, והיא יוצאת מרשימת “לא אומת” בכרטיס הכיסוי וב-RVTM.
קריאה נוספת
תמליל
הצגת התמליל (הקריינות ומה שמוצג על המסך)
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.