BundledModels resolves keys to paths

Tests › tests/unit/config/bundled_models_test.cpp

absent Not in the packaged run: no test report names it.

What this test is for

Why it exists

The test says nothing about why.

tests/unit/config/bundled_models_test.cpp:89 · its file's page

What it checks (5)

  1. REQUIRE(err.empty()) observes load via err
  2. REQUIRE(path == expected) observes resolve via path
  3. REQUIRE(path == std::filesystem::path("/custom/models") / "Qwen3.5-35B-A3B-UD-IQ3_XXS.gguf") observes resolve via path
  4. REQUIRE(path == "/opt/models/custom.gguf") observes resolve via path
  5. REQUIRE(path == home / "models" / "custom.gguf") observes resolve via path

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

BundledModels resolves keys to paths→load→test_data→REQUIRE→resolve→WHEN

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.

BundledModels resolves keys to paths · 5 checksWHENfailure_detailREQ-API-012 · inferredloadREQ-CFG-003 · inferred
Also reaches 2 requirements

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