test_no_doxyfile_anywhere_is_described_as_supported¶
Tests › tests/test_doxyfile_refusal_messages.py
What this test is for
Why it exists
The bullet the issue leads with. A repo that ships none gets synthesis, and the message must SAY that rather than reading as a refusal — this is the sentence a reader meets on the route the tool handles well.
Given
repo = tmp_path / "repo"repo.mkdir()
When
outcome = describe_doxyfile_resolution(explicit=None, repo_root=repo, candidates=[])
Then
- ✓ outcome.kind equals DOXYFILE_ABSENT
- ✓ outcome.is_error is false
- ✓ outcome.message.lower() contains "synthesi"
- ✓ outcome.message contains str(repo)
tests/test_doxyfile_refusal_messages.py:94 · its file's page
What it checks (4)
assert outcome.kind == DOXYFILE_ABSENTobservesdescribe_doxyfile_resolutionviaoutcomeassert not outcome.is_error, "a repo with no Doxyfile is a supported configuration"observesdescribe_doxyfile_resolutionviaoutcomeassert "synthesi" in outcome.message.lower(), "it must say synthesis is what happens next"observesdescribe_doxyfile_resolutionviaoutcomeassert str(repo) in outcome.messageobservesdescribe_doxyfile_resolutionviaoutcome
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
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.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-INDEX-001 measured