parse_config_file rejects missing file with read error

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:754 · its file's page

What it checks (2)

  1. CHECK_FALSE(err.empty()) observes parse_config_file via err
  2. CHECK(err.find("cannot read") != std::string::npos) observes parse_config_file via err

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_file rejects missing file with read error→load_test_registry→WHEN→parse_config_file→test_data

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_file rejects missing file with read error · 2 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.