gh#158: each session’s todo list is its own

Tests › tests/unit/api/builtin_server_sharing_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/api/builtin_server_sharing_test.cpp:685 · its file's page

What it checks (7)

  1. REQUIRE(h.ok) not attributed
  2. REQUIRE(a1.find("alpha-task") != std::string::npos) observes one via a1
  3. CHECK(b1.find("beta-task") != std::string::npos) observes one via b1
  4. CHECK(b1.find("alpha-task") == std::string::npos) observes one via b1
  5. CHECK(b1.find("0. [pending] beta-task") != std::string::npos) observes one via b1
  6. CHECK(a2.find("alpha-task") != std::string::npos) observes one via a2
  7. CHECK(a2.find("beta-task") == std::string::npos) observes one via a2

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#158: each session's todo list is its own→REQUIRE→one→todo_add→WHEN→path

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#158: each session's todo list is its own · 7 checksone… 3 calls …entropic_versionREQ-ABI-001 · inferredone… 5 calls …entropic_session_bind_workspaceREQ-ABI-002 · inferredone… 5 calls …entropic_last_errorREQ-API-003 · inferredone… 5 calls …entropic_session_bind_workspaceREQ-API-005 · inferredone… 5 calls …entropic_last_errorREQ-API-007 · inferredone… 3 calls …entropic_versionREQ-API-008 · inferredone… 6 calls …claim_exclusiveREQ-API-009 · inferredone… 7 calls …entropic_set_state_observerREQ-API-010 · inferredWHENfailure_detailREQ-API-012 · inferredonecalldispatchREQ-BRIDGE-001 · inferredone… 8 calls …resolve_data_dirREQ-CFG-008 · inferredone… 6 calls …extract_context_refsREQ-DELEG-006 · inferred

and 40 more requirement paths, listed below.

Also reaches 53 requirements

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