gh#141 app_context carries inline content

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

What it checks (11)

  1. REQUIRE(config.app_context_content.has_value()) observes parse via config
  2. CHECK(config.app_context_content->find("play-first") != std::string::npos) observes parse via config
  3. CHECK(config.app_context_content->find("Lessons are short") != std::string::npos) observes parse via config
  4. CHECK_FALSE(config.app_context.has_value()) observes parse via config
  5. CHECK_FALSE(config.app_context_disabled) observes parse via config
  6. CHECK(err.empty()) observes load_app_context via err
  7. CHECK(body == "Inline body text.") not attributed
  8. CHECK(err.empty()) observes load_app_context via err
  9. CHECK(body.empty()) not attributed
  10. CHECK(err.empty()) observes load_app_context via err
  11. CHECK(body == "content wins") 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#141 app_context carries inline content→parse→REQUIRE→load_app_context

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#141 app_context carries inline content · 11 checksparseparse_config_fileREQ-CFG-001 · inferredparseparse_config_fileparse_top_sectionsparse_models_configREQ-CFG-002 · inferredparseloadREQ-CFG-003 · inferredparse… 3 calls …parse_model_configREQ-CFG-005 · inferredparseparse_config_fileREQ-CFG-006 · inferredparse… 3 calls …parse_delegation_configREQ-DELEG-005 · inferredparse… 5 calls …parse_absolute_path_listREQ-MCP-021 · inferredparse… 6 calls …parse_bash_configREQ-MCP-023 · inferredload_app_contextREQ-TYPE-005 · inferred
Also reaches 9 requirements

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