test_the_dotmarkdown_spelling_counts

Tests › tests/test_prose_markdown_coverage.py

passed Passed in the packaged run.

What this test is for

Why it exists

`.markdown` is markdown.

Given

  1. root = tmp_path / "repo"
  2. _write(root, "notes.markdown", "# Notes\n\nBody.\n")
2 more
  1. db = tmp_path / "clew.db"
  2. db.touch()
→

When

  1. ingest_supplementary_docs(db, root, files=["notes.markdown"])
→

Then

  1. ✓ _ingested(db) equals {"notes.markdown"}

tests/test_prose_markdown_coverage.py:93 · its file's page

What it checks (1)

  1. assert _ingested(db) == {"notes.markdown"} observes _ingested

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

test_the_dotmarkdown_spelling_counts→_write→ingest_supplementary_docs→_ingested

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.

test_the_dotmarkdown_spelling_counts · 1 checksingest_supplementary_docs_ingest_one_doc_filememoizedREQ-DDB-INDEX-002 · measuredingest_supplementary_docsREQ-DDB-PIPE-001 · measuredingest_supplementary_docswithin_repoREQ-DDB-PIPE-014 · measured
Also reaches 3 requirements

Its run touches their code; that is reach, not proof.