test_no_keyword_is_recovered_as_a_function

Tests › tests/integration/test_c_error_recovery.py

passed Passed in the packaged run.

What this test is for

Why it exists

No recovered definition is named after a C keyword.

Given

  1. found = {rel: sorted(set(_spans(mbedtls_checkout, rel)) & _KEYWORDS) for rel in _FILES}
→

When

  1. —
→

Then

  1. ✓ any(found.values()) is false

tests/integration/test_c_error_recovery.py:55 · its file's page

What it checks (1)

  1. assert not any(found.values()), found observes _spans via found

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_no_keyword_is_recovered_as_a_function→_spans

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_no_keyword_is_recovered_as_a_function · 1 checks_spansharvest_function_definitionsREQ-DDB-INDEX-004 · measured
Also reaches 2 requirements

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