test_no_alias_or_no_doxyfile_finds_nothing

Tests › tests/test_req_alias_warning.py

passed Passed in the packaged run.

What this test is for

Why it exists

A synthesised Doxyfile, or none at all, is a correct negative.

Given

  1. plain = tmp_path / "Doxyfile"
  2. plain.write_text('ALIASES = "emits=@xrefitem evt_emits \\"Emits\\" \\"Events\\""\n')
→

When

  1. redefined_clew_tags(plain)
  2. redefined_clew_tags(tmp_path / "missing")
→

Then

  1. ✓ redefined_clew_tags(plain) equals {}
  2. ✓ redefined_clew_tags(tmp_path / "missing") equals {}

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

What it checks (2)

  1. assert redefined_clew_tags(plain) == {} observes redefined_clew_tags
  2. assert redefined_clew_tags(tmp_path / "missing") == {} observes redefined_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

test_no_alias_or_no_doxyfile_finds_nothing→redefined_clew_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_no_alias_or_no_doxyfile_finds_nothing · 2 checksredefined_clew_tagsREQ-DDB-SCHEMA-006 · measured
Also reaches 1 requirement

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