test_with_no_target_at_all_the_message_names_synthesis

Tests › tests/test_doxyfile_refusal_messages.py

passed Passed in the packaged run.

What this test is for

Why it exists

No --doxyfile and no --repo-root: no directory was ever searched, so "Doxyfile not found" is not even true. The old text rendered the path as the literal string "None". The reader needs to know a repo root is what is missing, and that a repo with no Doxyfile is nonetheless indexable.

Given

  1. —
→

When

  1. outcome = describe_doxyfile_resolution(explicit=None, repo_root=None, candidates=[])
→

Then

  1. ✓ outcome.kind equals DOXYFILE_NO_TARGET
  2. ✓ outcome.message contains "--repo-root"
  3. ✓ outcome.message does not contain "None"

tests/test_doxyfile_refusal_messages.py:80 · its file's page

What it checks (3)

  1. assert outcome.kind == DOXYFILE_NO_TARGET observes describe_doxyfile_resolution via outcome
  2. assert "--repo-root" in outcome.message observes describe_doxyfile_resolution via outcome
  3. assert "None" not in outcome.message, "no message should render a missing path as 'None'" observes describe_doxyfile_resolution via outcome

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_with_no_target_at_all_the_message_names_synthesis→describe_doxyfile_resolution

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_with_no_target_at_all_the_message_names_synthesis · 3 checksdescribe_doxyfile_resolutionREQ-DDB-INDEX-001 · measured
Also reaches 1 requirement

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