test_with_no_target_at_all_the_message_names_synthesis¶
Tests › tests/test_doxyfile_refusal_messages.py
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
- —
When
outcome = describe_doxyfile_resolution(explicit=None, repo_root=None, candidates=[])
Then
- ✓ outcome.kind equals DOXYFILE_NO_TARGET
- ✓ outcome.message contains "--repo-root"
- ✓ outcome.message does not contain "None"
tests/test_doxyfile_refusal_messages.py:80 · its file's page
What it checks (3)
assert outcome.kind == DOXYFILE_NO_TARGETobservesdescribe_doxyfile_resolutionviaoutcomeassert "--repo-root" in outcome.messageobservesdescribe_doxyfile_resolutionviaoutcomeassert "None" not in outcome.message, "no message should render a missing path as 'None'"observesdescribe_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