test_the_index_build_warns_naming_the_alias

Tests › tests/test_req_alias_warning.py

passed Passed in the packaged run.

What this test is for

Why it exists

The warning names the tag, the alias and what it costs.

Given

  1. doxyfile = tmp_path / "Doxyfile"
  2. doxyfile.write_text('ALIASES = "req=@par Requirement:^^"\n')
→

When

  1. with caplog.at_level(logging.WARNING): warn_redefined_tags(doxyfile)
→

Then

  1. ✓ caplog.text contains "req=@par Requirement:^^"
  2. ✓ caplog.text contains "requirement edge"

tests/test_req_alias_warning.py:40 · its file's page

What it checks (1)

  1. assert "req=@par Requirement:^^" in caplog.text and "requirement edge" in caplog.text not 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

test_the_index_build_warns_naming_the_alias→warn_redefined_tags

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.

test_the_index_build_warns_naming_the_alias · 1 checkswarn_redefined_tagsREQ-DDB-SCHEMA-006 · measured
Also reaches 1 requirement

Its run touches their code; that is reach, not proof.