gh#165: the RUNNING session refuses replacement, others do not¶
Tests › tests/unit/core/session_conversation_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/core/session_conversation_test.cpp:242 · its file's page
What it checks (5)
REQUIRE(engine.try_begin_turn("repo-a"))not attributedCHECK_FALSE(engine.set_session_messages("repo-a", m))observesset_session_messagesCHECK(engine.set_session_messages("repo-b", m))observesset_session_messagesCHECK(engine.message_count_for("repo-b") == 1)observesmessage_count_forCHECK(engine.set_session_messages("repo-a", m))observesset_session_messages
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#165: the RUNNING session refuses replacement, others do not→make_mock_interface→set_concurrent_sessions→REQUIRE→WHEN→set_session_messages→message_count_for→end_turnWhat 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 4 requirements
Its run touches their code; that is reach, not proof.
- REQ-API-009 inferred
- REQ-API-012 inferred
- REQ-LOOP-009 inferred
- REQ-LOOP-010 inferred