test_default_entry_patterns_covers_common_shapes¶
Tests › tests/test_build_docs_db.py
What this test is for
Why it exists
Sanity-check the curated default list has the common ones.
Verifies REQ-DDB-PIPE-001 REQ-DDB-PIPE-010
Given
- —
When
- —
Then
- ✓ DEFAULT_ENTRY_PATTERNS contains "main"
- ✓ DEFAULT_ENTRY_PATTERNS contains "%init%"
- ✓ DEFAULT_ENTRY_PATTERNS contains "%task%"
- ✓ DEFAULT_ENTRY_PATTERNS contains "%isr%"
tests/test_build_docs_db.py:997 · its file's page
What it checks (4)
assert "main" in DEFAULT_ENTRY_PATTERNSnot attributedassert "%init%" in DEFAULT_ENTRY_PATTERNSnot attributedassert "%task%" in DEFAULT_ENTRY_PATTERNSnot attributedassert "%isr%" in DEFAULT_ENTRY_PATTERNSnot 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-001 | catalog | unknown |
| REQ-DDB-PIPE-010 | catalog | unknown |