test_supplementary_patterns_includes_readme_and_docs

Tests › tests/test_build_docs_db.py

passed Passed in the packaged run.

What this test is for

Why it exists

Glob list must cover the standard layouts before runtime adds any.

Verifies REQ-DDB-PIPE-001 REQ-DDB-PIPE-010

Given

  1. —
→

When

  1. —
→

Then

  1. ✓ SUPPLEMENTARY_PATTERNS contains "README.md"
  2. ✓ SUPPLEMENTARY_PATTERNS contains "docs/*.md"
  3. ✓ SUPPLEMENTARY_PATTERNS contains "docs/**/*.md"

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

What it checks (3)

  1. assert "README.md" in SUPPLEMENTARY_PATTERNS not attributed
  2. assert "docs/*.md" in SUPPLEMENTARY_PATTERNS not attributed
  3. assert "docs/**/*.md" in SUPPLEMENTARY_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