gh#160 delegation.isolation parses, and a bad mode is refused

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

What it checks (7)

  1. REQUIRE(err.empty()) observes parse_config_file via err
  2. CHECK(config.delegation.isolation == entropic::DelegationIsolation::none) not attributed
  3. REQUIRE(err.empty()) observes parse_config_file via err
  4. CHECK(config.delegation.isolation == entropic::DelegationIsolation::sandbox) not attributed
  5. REQUIRE_FALSE(err.empty()) observes parse_config_file via err
  6. CHECK(err.find("worktree") != std::string::npos) observes parse_config_file via err
  7. CHECK(config.delegation.isolation == entropic::DelegationIsolation::none) 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

gh#160 delegation.isolation parses, and a bad mode is refused→load_test_registry→parse_config_file→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.

gh#160 delegation.isolation parses, and a bad mode is refused · 7 checksparse_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 9 requirements

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