test_no_alias_or_no_doxyfile_finds_nothing¶
Tests › tests/test_req_alias_warning.py
What this test is for
Why it exists
A synthesised Doxyfile, or none at all, is a correct negative.
Given
plain = tmp_path / "Doxyfile"plain.write_text('ALIASES = "emits=@xrefitem evt_emits \\"Emits\\" \\"Events\\""\n')
When
redefined_clew_tags(plain)redefined_clew_tags(tmp_path / "missing")
Then
- ✓ redefined_clew_tags(plain) equals {}
- ✓ redefined_clew_tags(tmp_path / "missing") equals {}
tests/test_req_alias_warning.py:32 · its file's page
What it checks (2)
assert redefined_clew_tags(plain) == {}observesredefined_clew_tagsassert redefined_clew_tags(tmp_path / "missing") == {}observesredefined_clew_tags
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-SCHEMA-006 measured