api-vv-toolkit

Traceability report

Widget demo: verification and validation report

Results describe this recorded run only. The bundled demo uses deliberately seeded defects; its output is not a production service certification.

Gate: FAIL (REQ-003, REQ-008)

verified
10
failed
2
partially covered
0
not covered
0
tests run
32

Requirements, tests and results

Each requirement links to the tests that check it and their latest verdict.
12 requirements traced to 11 tests
RequirementPriority StatusTests and latest verdict
REQ-001 The health endpoint returns its status and service version header. must verified
  • TC-cdaa34c36bf2 health: happy path passed GET /health · expects 200 · got 200 · 27 ms
REQ-002 A valid widget can be created. must verified
  • TC-49e39d3e97cf createWidget: happy path passed POST /widgets · expects 201 · got 201 · 7 ms
REQ-003 A widget name longer than eight characters is rejected. must failed
  • TC-fcf6e146d3f7 createWidget: boundary:name:maxLength:above failed POST /widgets · expects 422 · got 201 · 43 ms
    Why it failed
    • status: expected 422, got 201
REQ-004 A widget must include a name. must verified
  • TC-79866774821e createWidget: required:name passed POST /widgets · expects 422 · got 422 · 8 ms
REQ-005 A widget name must be a string. must verified
  • TC-118246c9cbae createWidget: wrong-type:name passed POST /widgets · expects 422 · got 422 · 44 ms
REQ-006 Widget roles are restricted to the documented enum. must verified
  • TC-e19504014f59 createWidget: enum:role passed POST /widgets · expects 422 · got 422 · 42 ms
REQ-007 The secure endpoint rejects unauthenticated requests. must verified
  • TC-bc42e8332169 secure: missing authentication passed GET /secure · expects 401 · got 401 · 42 ms
REQ-008 Deleting a widget returns 204 with no body. must failed
  • TC-13777f5b2f2f deleteWidget: happy path failed DELETE /widgets/{widget_id} · expects 204 · got 200 · 2 ms
    Why it failed
    • status: expected 204, got 200
    • response status is undocumented
REQ-009 Reading a widget returns a schema-valid representation. must verified
  • TC-2cefd5bb874c getWidget: happy path passed GET /widgets/{widget_id} · expects 200 · got 200 · 42 ms
REQ-010 Reading absent widget 999 returns a documented not-found response. must verified
  • TC-bf3867a1d253 Read a missing widget passed GET /widgets/{widget_id} · expects 404 · got 404 · 42 ms
REQ-011 A one-character widget name is accepted. must verified
  • TC-8b8c2d496cb1 createWidget: boundary:name:minLength:at passed POST /widgets · expects 201 · got 201 · 43 ms
REQ-012 The health endpoint responds within one second in this local demo. should verified
  • TC-cdaa34c36bf2 health: happy path passed GET /health · expects 200 · got 200 · 27 ms

Coverage gaps

21 untraced tests

Tests that ran but that no requirement claims: a requirement may be missing, or the test may be unnecessary.

  • TC-19262f360851 createWidget: wrong-type: passed
  • TC-60a2c5a91e13 createWidget: required:role passed
  • TC-5b33e7a9b87d createWidget: required:age passed
  • TC-1d5e23f34061 createWidget: additional-properties:body passed
  • TC-3672bfd2665c createWidget: boundary:name:minLength:below passed
  • TC-34c607faab34 createWidget: boundary:name:minLength:above passed
  • TC-fe713f895f52 createWidget: boundary:name:maxLength:below passed
  • TC-db1e9b99ffe5 createWidget: boundary:name:maxLength:at passed
  • TC-0581effea7c6 createWidget: wrong-type:role passed
  • TC-954d1ad56930 createWidget: wrong-type:age passed
  • TC-20a07aed3239 createWidget: boundary:age:minimum:below passed
  • TC-b38f98f72adc createWidget: boundary:age:minimum:at passed
  • TC-0e220c58dd1d createWidget: boundary:age:minimum:above passed
  • TC-482de01b6b54 createWidget: boundary:age:maximum:below passed
  • TC-a45a03da342f createWidget: boundary:age:maximum:at passed
  • TC-8f08efa84c7e createWidget: boundary:age:maximum:above passed
  • TC-1ea5c02b9cc8 createWidget: required:body passed
  • TC-c87250a04bff getWidget: wrong-type:path.widget_id passed
  • TC-1fcb60261aea deleteWidget: wrong-type:path.widget_id passed
  • TC-1494271a2eb9 secure: happy path passed
  • TC-1b9c7c3494d6 secure: invalid credentials passed

Operations without requirements: none

Execution findings