Skip to main content

verification

Summary

Optional section describing how requirements are validated.

Where it appears

  • rqml > verification

Content model

  • testSuite (0..n) → description (0..1)
  • testCase (0..n) → purpose (0..1), steps (0..1), expected (0..1)

Attributes

ElementNameTypeRequiredDefaultDescription
testSuiteidIdTypeyesSuite identifier.
testSuitetitlestringyesSuite title.
testCaseidIdTypeyesTest identifier.
testCasetypeTestType (`acceptanceintegrationunitsecurity
testCasetitlestringyesTest title.

Example (minimal)

<verification>
<testCase id="TC-1" type="unit" title="Does the thing"/>
</verification>

Example (typical)

<verification>
<testSuite id="TS-PAYMENT" title="Payment Flow">
<description>End-to-end payment authorization and capture tests.</description>
</testSuite>
<testCase id="TC-AUTH-001" type="integration" title="Authorize payment success">
<purpose>Verify successful authorization path.</purpose>
<steps>Submit POST /payments with valid token and amount.</steps>
<expected>Response status 201 with paymentId and status=authorized.</expected>
</testCase>
</verification>

Notes / LLM hints

  • Use trace edges to connect tests to requirements/scenarios for coverage.
  • Use steps and expected to make tests reproducible and observable.