test_no_keyword_is_recovered_as_a_function¶
Tests › tests/integration/test_c_error_recovery.py
What this test is for
Why it exists
No recovered definition is named after a C keyword.
Given
found = {rel: sorted(set(_spans(mbedtls_checkout, rel)) & _KEYWORDS) for rel in _FILES}
When
- —
Then
- ✓ any(found.values()) is false
tests/integration/test_c_error_recovery.py:55 · its file's page
What it checks (1)
assert not any(found.values()), foundobserves_spansviafound
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→_spansWhat 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.
Also reaches 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-INDEX-004 measured
- REQ-DDB-PIPE-003 measured