コースのチャプター
トレーニング · トラック 2. 要求と検証 · チャプター 2.5(全 6 チャプター)
2.5 検証とテストセンター 2:55
各要求の検証方法を計画し、ステップ付きのテストケースを書いて実行します。
Holarch 2.13 の画面です。
学習内容
- 要求の検証方法を選ぶ:インスペクション、分析、デモンストレーション、テスト
- テストセンターで、要求の検証方法、レベル、合格基準を計画する
- テストスイートと、要求を検証するステップ付きのテストケースを作成する
- テストを実行し、その結果を記録する
Bike-Share Dock の検証を計画します。各要求の方法、レベル、合格基準、要求を検証するテストケースを含むテストスイート、ステップごとの手順、そしてテストセンターで結果を記録する実行を扱います。
プロジェクトファイル
- 開始時のプロジェクト (.holarch.json。プロジェクトを管理 → プロジェクトファイル ▾ → プロジェクトをインポート (.json)…)
- 完成したプロジェクト (.holarch.json。プロジェクトを管理 → プロジェクトファイル ▾ → プロジェクトをインポート (.json)…)
動画は holarch.app から再生されます。プライバシーポリシーをご覧ください。
演習
CubeSat EO-1 デモプロジェクトを使って、Holarch で実際に操作します。
- EO-1 デモプロジェクトを開きます(または作成します:プロジェクトを管理 → プロジェクトファイル ▾ → 新しいデモプロジェクト → CubeSat(ガイド付きシステムズエンジニアリング))。
- 検証 → テストセンターを開き、検証カバレッジまでスクロールします。4.4 Downlink Encryption で I がオンになっていることを確認し、レベル…でサブシステムを選び、+ 基準で合格基準を追加します。
- ページヘッダーの+ 新規 ▾ → テストスイート…をクリックし、番号を
TS-4、名前をMission Analysesにして作成をクリックします。そのカードで+ テストケースをクリックし、名前をDaily Collection Volume Analysisにして、検証対象の + をクリックし 1.5 Daily Collection Volume を選びます(その方法は Analysis で、まだテストがありません)。 - 期待される結果を入力し、+ ステップをクリックして、それぞれ操作と期待される結果を持つステップを 2 つ追加し、適用をクリックします。
- TS-4 のカードで ⋯ → サイクルを実行…を選び、各ステップを記録し、実際の結果を記述して ✔ 合格をクリックします。
- チェック付きのウォークスルーを行うには、チュートリアル 9「要求を検証する」を実行します(ヘルプ → チュートリアル)。
Daily Collection Volume Analysis が自分の名前と日付付きで合格と表示され、1.5 が未検証の一覧から外れれば完了です。
確認問題
- 730 日のミッション寿命の要求にはどの方法が適していますか?それはなぜですか?
- テストケースを書く前に合格基準を設定するのはなぜですか?
- 合格したテストケースは、それが検証する要求の何を変えますか?
解答を表示
730 日のミッション寿命の要求にはどの方法が適していますか?それはなぜですか?
Analysis です。寿命は打ち上げ前に測定できないため、信頼性の推定などの計算で示します。
テストケースを書く前に合格基準を設定するのはなぜですか?
合格基準は、要求が満たされたことを示す測定可能な結果を述べるものです。そのため、テストはたまたま測定できるものではなく、その結果に合わせて設計されます。
合格したテストケースは、それが検証する要求の何を変えますか?
要求の検証ステータスが検証済みになり、カバレッジカードと 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.