test_build_doxyfile_appends_forced_flags

Tests › tests/test_build_docs_db.py

passed Passed in the packaged run.

What this test is for

Why it exists

The test says nothing about why.

Verifies REQ-DDB-PIPE-001 REQ-DDB-PIPE-010

Given

  1. f = tmp_path / "Doxyfile"
  2. f.write_text("PROJECT_NAME = test\n")
→

When

  1. out = _build_doxyfile_content(f, extra_input=None, extra_exclude=None)
→

Then

  1. ✓ out contains "GENERATE_SQLITE3 = YES"
  2. ✓ out does not contain "GENERATE_XML = YES"
  3. ✓ out contains "EXTRACT_ALL = YES"
  4. ✓ out contains "EXTRACT_STATIC = YES"
  5. ✓ out contains "RECURSIVE = YES"
  6. ✓ out contains "PROJECT_NAME = test"

tests/test_build_docs_db.py:236 · its file's page

What it checks (6)

  1. assert "GENERATE_SQLITE3 = YES" in out observes _build_doxyfile_content via out
  2. assert "GENERATE_XML = YES" not in out observes _build_doxyfile_content via out
  3. assert "EXTRACT_ALL = YES" in out observes _build_doxyfile_content via out
  4. assert "EXTRACT_STATIC = YES" in out observes _build_doxyfile_content via out
  5. assert "RECURSIVE = YES" in out observes _build_doxyfile_content via out
  6. assert "PROJECT_NAME = test" in out observes _build_doxyfile_content via out

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_build_doxyfile_appends_forced_flags→_build_doxyfile_content

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_build_doxyfile_appends_forced_flags · 6 checks_build_doxyfile_contentREQ-DDB-INDEX-001 · measured_build_doxyfile_contentextra_input_clears_excludeREQ-DDB-PIPE-003 · measured

Requirements it verifies (2)

requirementlinked byimplementers exercised
REQ-DDB-PIPE-001catalogunknown
REQ-DDB-PIPE-010catalogunknown
Also reaches 2 requirements

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