Empty config file returns descriptive error

Tests › tests/edge/test_config_edge_cases.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/edge/test_config_edge_cases.cpp:210 · its file's page

What it checks (2)

  1. REQUIRE_FALSE(err.empty()) observes parse_config_file via err
  2. REQUIRE(err.find("config") != 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

Empty config file returns descriptive error→WHEN→parse_config_file→path→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.

Empty config file returns descriptive error · 2 checksWHENfailure_detailREQ-API-012 · inferredparse_config_fileREQ-CFG-001 · inferredparse_config_fileparse_top_sectionsparse_models_configREQ-CFG-002 · inferredparse_config_fileparse_top_sectionsparse_models_configparse_model_configREQ-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.