test_default_entry_patterns_covers_common_shapes

Tests › tests/test_build_docs_db.py

passed Passed in the packaged run.

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

  1. —
→

When

  1. —
→

Then

  1. ✓ DEFAULT_ENTRY_PATTERNS contains "main"
  2. ✓ DEFAULT_ENTRY_PATTERNS contains "%init%"
  3. ✓ DEFAULT_ENTRY_PATTERNS contains "%task%"
  4. ✓ DEFAULT_ENTRY_PATTERNS contains "%isr%"

tests/test_build_docs_db.py:997 · its file's page

What it checks (4)

  1. assert "main" in DEFAULT_ENTRY_PATTERNS not attributed
  2. assert "%init%" in DEFAULT_ENTRY_PATTERNS not attributed
  3. assert "%task%" in DEFAULT_ENTRY_PATTERNS not attributed
  4. assert "%isr%" in DEFAULT_ENTRY_PATTERNS 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.

Requirements it verifies (2)

requirementlinked byimplementers exercised
REQ-DDB-PIPE-001catalogunknown
REQ-DDB-PIPE-010catalogunknown