Holarch
فصول الدورة

التدريب · المسار 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.

  1. افتح مشروع EO-1 التوضيحي الخاص بك (أو أنشئه: إدارة المشاريع ← ملفات المشروع ▾ ← مشروع توضيحي جديد ← CubeSat (هندسة أنظمة موجّهة)).
  2. افتح التحقق ← مركز الاختبار ومرّر إلى تغطية التحقق. في 4.4 Downlink Encryption، تأكد من تفعيل م، واختر النظام الفرعي تحت المستوى…، وأضف معايير النجاح باستخدام + المعايير.
  3. انقر + جديد ▾ ← مجموعة الاختبار… في رأس الصفحة، ورقّمها TS-4، وسمّها Mission Analyses ثم انقر إنشاء. في بطاقتها، انقر + Test Case، وسمّها Daily Collection Volume Analysis، وانقر + في verifies لاختيار 1.5 Daily Collection Volume (طريقته Analysis وليس له اختبار بعد).
  4. اكتب النتيجة المتوقعة، ثم انقر + خطوات، وأضف خطوتين لكل منهما إجراء ونتيجة متوقعة، ثم انقر تطبيق.
  5. في بطاقة TS-4، اختر ⋯ ← تشغيل دورة…، وسجّل كل خطوة، وصِف النتيجة الفعلية ثم انقر ✔ نجاح.
  6. للحصول على شرح موجّه مع فحص، شغّل البرنامج التعليمي 9 التحقق من المتطلبات (التعليمات ← البرامج التعليمية).

تكون قد انتهيت عندما تُظهر Daily Collection Volume Analysis حالة «ناجح» باسمك والتاريخ، ويخرج 1.5 من قائمة «غير متحقق منه».

اختبر نفسك

  1. أي طريقة تناسب متطلبًا لعمر مهمة قدره 730 يومًا، ولماذا؟
  2. لماذا تضبط معايير النجاح قبل كتابة حالة الاختبار؟
  3. ما الذي تغيّره حالة اختبار ناجحة في المتطلب الذي تتحقق منه؟
إظهار الإجابات
  1. أي طريقة تناسب متطلبًا لعمر مهمة قدره 730 يومًا، ولماذا؟

    Analysis: لا يمكن قياس العمر قبل الإطلاق، لذا يُثبت بالحساب، مثل تقدير للموثوقية.

  2. لماذا تضبط معايير النجاح قبل كتابة حالة الاختبار؟

    تحدد النتيجة القابلة للقياس التي تُظهر استيفاء المتطلب، فيُصمَّم الاختبار وفق تلك النتيجة بدلًا من أي شيء يصادف أن يقيسه الاختبار.

  3. ما الذي تغيّره حالة اختبار ناجحة في المتطلب الذي تتحقق منه؟

    تصبح حالة التحقق للمتطلب «متحقق منه»، ويخرج من قائمة «غير متحقق منه» في بطاقة التغطية وفي 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.