test_every_registered_column_has_a_registered_vocabulary¶
Tests › tests/test_vocabulary.py
What this test is for
Why it exists
`check()` refuses an unregistered column instead of returning an empty string: a silently-absent CHECK is the hole this module exists to close.
Given
for table, column in COLUMNS: assert check(table, column).startswith("CHECK(")
When
check("call_edges", "not_a_column")
Then
- ✓ raises KeyError
tests/test_vocabulary.py:433 · its file's page
What it checks (1)
assert check(table, column).startswith("CHECK(")not attributed
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.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-SCHEMA-012 measured