Parse config with tiers

Tests › tests/unit/config/loader_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/loader_test.cpp:72 · its file's page

What it checks (10)

  1. REQUIRE(err.empty()) observes parse_config_file via err
  2. REQUIRE(config.models.tiers.size() == 2) not attributed
  3. REQUIRE(config.models.tiers.count("lead") == 1) not attributed
  4. REQUIRE(config.models.tiers.count("eng") == 1) not attributed
  5. REQUIRE(lead.adapter == "qwen35") not attributed
  6. REQUIRE(lead.context_length == 131072) not attributed
  7. REQUIRE(lead.gpu_layers == 40) not attributed
  8. REQUIRE(lead.path == expected) not attributed
  9. REQUIRE(config.mcp.enable_filesystem == true) not attributed
  10. REQUIRE(config.mcp.filesystem.allow_outside_root == entropic::OutsideRootAccess::allow) 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

Parse config with tiers→load_test_registry→WHEN→parse_config_file→test_data→REQUIRE

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.

Parse config with tiers · 10 checksWHENfailure_detailREQ-API-012 · inferredparse_config_fileREQ-CFG-001 · inferredparse_config_fileparse_top_sectionsparse_models_configREQ-CFG-002 · inferredload_test_registryloadREQ-CFG-003 · inferredparse_config_fileparse_top_sectionsparse_models_configparse_model_configREQ-CFG-005 · inferredparse_config_fileREQ-CFG-006 · inferredparse_config_fileparse_top_sectionsparse_optional_sectionsparse_delegation_configREQ-DELEG-005 · inferredparse_config_file… 4 calls …parse_absolute_path_listREQ-MCP-021 · inferredparse_config_file… 5 calls …parse_bash_configREQ-MCP-023 · inferredparse_config_fileREQ-TYPE-005 · inferred
Also reaches 10 requirements

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