test_the_index_build_warns_naming_the_alias¶
Tests › tests/test_req_alias_warning.py
What this test is for
Why it exists
The warning names the tag, the alias and what it costs.
Given
doxyfile = tmp_path / "Doxyfile"doxyfile.write_text('ALIASES = "req=@par Requirement:^^"\n')
When
with caplog.at_level(logging.WARNING): warn_redefined_tags(doxyfile)
Then
- ✓ caplog.text contains "req=@par Requirement:^^"
- ✓ caplog.text contains "requirement edge"
tests/test_req_alias_warning.py:40 · its file's page
What it checks (1)
assert "req=@par Requirement:^^" in caplog.text and "requirement edge" in caplog.textnot attributed
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