test_permissive_fallback_preserves_inferred_confidence

Tests › tests/test_requirements_declared.py

passed Passed in the packaged run.

What this test is for

Why it exists

The test says nothing about why.

Given

  1. —
→

When

  1. pattern = resolve_req_id_pattern(None)
  2. _extract_req_tags("@req REQ-0621 [inferred]", pattern)
→

Then

  1. ✓ _extract_req_tags("@req REQ-0621 [inferred]", pattern) equals [ "REQ-0621", ]

tests/test_requirements_declared.py:84 · its file's page

What it checks (1)

  1. assert _extract_req_tags("@req REQ-0621 [inferred]", pattern) == [ "REQ-0621", ] observes _extract_req_tags

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

test_permissive_fallback_preserves_inferred_confidence→resolve_req_id_pattern→_extract_req_tags

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

test_permissive_fallback_preserves_inferred_confidence · 1 checksresolve_req_id_patternREQ-DDB-CONFIG-001 · measured_extract_req_tagsREQ-DDB-SCHEMA-006 · measured
Also reaches 2 requirements

Its run touches their code; that is reach, not proof.