test_a_missing_explicit_doxyfile_does_not_propose_passing_one

Tests › tests/test_doxyfile_refusal_messages.py

passed Passed in the packaged run.

What this test is for

Why it exists

The literal gh#4 complaint. The user passed --doxyfile; the path is not on disk; the old text answered "Pass --doxyfile". "Never proposes an action already taken" is the property, so this asserts the ABSENCE of that advice as well as the presence of the path that was actually tried.

Given

  1. missing = tmp_path / "nope" / "Doxyfile"
→

When

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

Then

  1. ✓ outcome.kind equals DOXYFILE_EXPLICIT_MISSING
  2. ✓ outcome.message contains str(missing)
  3. ✓ outcome.message contains "--repo-root"
  4. ✓ outcome.message.lower() does not contain "pass --doxyfile"

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

What it checks (4)

  1. assert outcome.kind == DOXYFILE_EXPLICIT_MISSING observes describe_doxyfile_resolution via outcome
  2. assert str(missing) in outcome.message, "the message must name the path that was tried" observes describe_doxyfile_resolution via outcome
  3. assert "--repo-root" in outcome.message, "it must name the flag that changes the outcome" observes describe_doxyfile_resolution via outcome
  4. assert "pass --doxyfile" not in outcome.message.lower(), ( "it must not propose the flag the user just used" ) 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_a_missing_explicit_doxyfile_does_not_propose_passing_one→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_a_missing_explicit_doxyfile_does_not_propose_passing_one · 4 checksdescribe_doxyfile_resolutionREQ-DDB-INDEX-001 · measured
Also reaches 1 requirement

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