과정의 장
교육 · 트랙 2. 요구사항과 검증 · 2.5장 (전체 6장)
2.5 검증과 테스트 센터 2:55
각 요구사항의 검증 방법을 계획하고, 단계가 있는 테스트 케이스를 작성하여 실행합니다.
Holarch 2.13 화면입니다.
학습 내용
- 요구사항의 검증 방법 고르기: 검사, 분석, 시연, 시험
- 테스트 센터에서 요구사항의 검증 방법, 수준, 성공 기준 계획하기
- 요구사항을 검증하는 테스트 스위트와 단계가 있는 테스트 케이스 만들기
- 테스트를 실행하고 결과 기록하기
Bike-Share Dock의 검증을 계획합니다. 요구사항마다 방법, 수준, 성공 기준을 정하고, 요구사항을 검증하는 테스트 케이스가 있는 테스트 스위트, 단계별 절차, 그리고 테스트 센터에서 결과를 기록하는 실행을 다룹니다.
실습
CubeSat EO-1 데모 프로젝트에서 Holarch로 직접 해 보십시오.
- EO-1 데모 프로젝트를 여십시오(또는 만드십시오: 프로젝트 관리 → 프로젝트 파일 ▾ → 새 데모 프로젝트 → CubeSat (Guided systems engineering)).
- 검증 → 테스트 센터를 열고 검증 커버리지까지 스크롤합니다. 4.4 Downlink Encryption에서 I가 켜져 있는지 확인하고, 수준… 아래에서 하위 시스템을 선택한 다음, + 기준으로 성공 기준을 추가합니다.
- 페이지 머리글에서 + 새로 만들기 ▾ → 테스트 스위트…를 클릭하고, 번호를
TS-4, 이름을Mission Analyses로 지정한 다음 만들기를 클릭합니다. 카드에서 + 테스트 케이스를 클릭하고 이름을Daily Collection Volume Analysis로 지정한 다음, Verifies의 +를 클릭해 1.5 Daily Collection Volume을 고릅니다(방법이 Analysis이고 아직 테스트가 없음). - 예상 결과를 입력한 다음 + 단계를 클릭하고, 각각 동작과 예상 결과가 있는 단계 두 개를 추가한 다음 적용을 클릭합니다.
- TS-4 카드에서 ⋯ → 주기 실행…을 선택하고, 각 단계를 기록하고, 실제 결과를 설명한 다음 ✔ 통과를 클릭합니다.
- 검사가 포함된 단계별 실습은 튜토리얼 9 Verify the Requirements(도움말 → 튜토리얼)를 실행하십시오.
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.