gh#133 mcp.plugins parses into MCPConfig::plugins¶
Tests › tests/unit/config/loader_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/config/loader_test.cpp:1160 · its file's page
What it checks (9)
REQUIRE(err.empty())observesload_layeredviaerrREQUIRE(config.mcp.plugins.size() == 2)not attributedCHECK(config.mcp.plugins[0] == std::filesystem::path("/opt/entropic/libfoo_server.so"))not attributedREQUIRE(config.mcp.plugins.size() == 2)not attributedCHECK(expanded.find('~') == std::string::npos)not attributedCHECK(expanded.find("plugins/libbar_server.so") != std::string::npos)not attributedREQUIRE(err.empty())observesload_layeredviaerrCHECK(config.mcp.plugins.empty())not attributedCHECK_FALSE(config.mcp.enable_bash)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
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.
Also reaches 12 requirements
Its run touches their code; that is reach, not proof.
- REQ-API-012 inferred
- REQ-CFG-001 inferred
- REQ-CFG-002 inferred
- REQ-CFG-003 inferred
- REQ-CFG-005 inferred
- REQ-CFG-006 inferred
- REQ-CFG-007 inferred
- REQ-CFG-008 inferred
- REQ-DELEG-005 inferred
- REQ-MCP-021 inferred
- REQ-MCP-023 inferred
- REQ-TYPE-005 inferred