test_extractor_suffix_sets_do_not_overlap¶
Tests › tests/test_filedocs.py
What this test is for
Why it exists
Dispatch is first-match, so an overlap would make which extractor runs depend on declaration order — the sort of thing that works until someone sorts a tuple.
Verifies REQ-DDB-PIPE-008 REQ-DDB-SCHEMA-014
Given
py = set(PythonFileDoc.EXTENSIONS)cxx = set(CFamilyFileDoc.EXTENSIONS)
When
- —
Then
- ✓ py & cxx equals set()
- ✓ py holds
- ✓ cxx holds
tests/test_filedocs.py:170 · its file's page
What it checks (2)
assert py & cxx == set()not attributedassert py and cxxnot 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.
Requirements it verifies (2)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-PIPE-008 | catalog | unknown |
| REQ-DDB-SCHEMA-014 | catalog | unknown |