gh#165 a recall assertion must read the answer, not the transcript

Tests › tests/unit/api/final_text_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/final_text_test.cpp:185 · its file's page

What it checks (9)

  1. CHECK(std::string(convo).find("cinnamon") != std::string::npos) not attributed
  2. CHECK(answer.empty()) observes extract_final_text via answer
  3. CHECK(answer.find("cinnamon") == std::string::npos) observes extract_final_text via answer
  4. CHECK(answer == "Understood, I will remember it.") observes extract_final_text via answer
  5. CHECK(answer.find("cinnamon") == std::string::npos) observes extract_final_text via answer
  6. CHECK(answer == "cinnamon") observes extract_final_text via answer
  7. CHECK(answer == "Red and blue.") observes extract_final_text via answer
  8. CHECK(answer.find("cinnamon") == std::string::npos) observes extract_final_text via answer
  9. CHECK(std::string(convo).find("cinnamon") != std::string::npos) 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#165 a recall assertion must read the answer, not the transcript→WHEN→extract_final_text

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#165 a recall assertion must read the answer, not the transcript · 9 checksextract_final_textREQ-API-012 · inferred
Also reaches 1 requirement

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