test_a_single_conventional_candidate_is_accepted

Tests › tests/test_kconfig.py

passed Passed in the packaged run.

What this test is for

Why it exists

The refusal above must not be a refusal to look. One candidate is not ambiguous, and a fixture that only ever tests the refusal would pass with discovery hard-wired to None.

Verifies REQ-DDB-PIPE-007 REQ-DDB-PIPE-014 REQ-DDB-QUERY-006

Given

  1. root = tmp_path / "app_only"
  2. (root / "app").mkdir(parents=True)
  3. (root / "app" / KCONFIG_NAME).write_text("config A\n\tbool\n", encoding="utf-8")
→

When

  1. discover_kconfig(root)
→

Then

  1. ✓ discover_kconfig(root).path equals Path("app/Kconfig")

tests/test_kconfig.py:151 · its file's page

What it checks (1)

  1. assert discover_kconfig(root).path == Path("app/Kconfig") observes discover_kconfig

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_a_single_conventional_candidate_is_accepted→discover_kconfig

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_a_single_conventional_candidate_is_accepted · 1 checksdiscover_kconfigREQ-DDB-CONFIG-005 · measureddiscover_kconfig_declared_kconfigwithin_repoREQ-DDB-PIPE-014 · catalog

Requirements it verifies (3)

requirementlinked byimplementers exercised
REQ-DDB-PIPE-007catalogunknown
REQ-DDB-PIPE-014catalog1 of 5: within_repo
REQ-DDB-QUERY-006catalogunknown
Also reaches 1 requirement

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