test_only_the_unresolvable_situations_are_errors¶
Tests › tests/test_doxyfile_refusal_messages.py
What this test is for
Why it exists
The is_error split is the behavioural claim in a message-only change: the two synthesis routes must stay non-errors, or a supported path becomes a refusal — which is the regression this change could most easily introduce.
Given
repo = tmp_path / "repo"repo.mkdir()
When
describe_doxyfile_resolution(None, None, [])describe_doxyfile_resolution(tmp_path / "n" / "Doxyfile", None, [])describe_doxyfile_resolution(None, repo, [])describe_doxyfile_resolution(None, repo, [repo / "s" / "Doxyfile"])
Then
- ✓ describe_doxyfile_resolution(None, None, []).is_error holds
- ✓ describe_doxyfile_resolution(tmp_path / "n" / "Doxyfile", None, []).is_error holds
- ✓ describe_doxyfile_resolution(None, repo, []).is_error is false
- ✓ describe_doxyfile_resolution(None, repo, [repo / "s" / "Doxyfile"]).is_error is false
tests/test_doxyfile_refusal_messages.py:160 · its file's page
What it checks (4)
assert describe_doxyfile_resolution(None, None, []).is_errorobservesdescribe_doxyfile_resolutionassert describe_doxyfile_resolution(tmp_path / "n" / "Doxyfile", None, []).is_errorobservesdescribe_doxyfile_resolutionassert not describe_doxyfile_resolution(None, repo, []).is_errorobservesdescribe_doxyfile_resolutionassert not describe_doxyfile_resolution(None, repo, [repo / "s" / "Doxyfile"]).is_errorobservesdescribe_doxyfile_resolution
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