test_new_thread_kinds_are_registered_in_the_vocabulary¶
Tests › tests/test_python_ast.py
What this test is for
Why it exists
Both new kinds must be real vocabulary members, so the `threads.kind` CHECK accepts them and a declared manifest can validate against them.
Given
- —
When
- —
Then
- ✓ THREAD_KIND contains kind
- ✓ THREAD_KIND.validated(kind, owner="test", field="kind") equals kind
tests/test_python_ast.py:814 · its file's page
What it checks (2)
assert kind in THREAD_KINDnot attributedassert THREAD_KIND.validated(kind, owner="test", field="kind") == kindnot 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