gh#204: an unservable http_port fails configure loudly

Tests › tests/unit/api/http_listener_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/http_listener_test.cpp:307 · its file's page

What it checks (4)

  1. REQUIRE(entropic_create(&h) == ENTROPIC_OK) observes entropic_create
  2. CHECK(rc == ENTROPIC_ERROR_IO) observes entropic_configure via rc
  3. REQUIRE(e != nullptr) not attributed
  4. CHECK(std::string(e).find("HTTP listener") != 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

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#204: an unservable http_port fails configure loudly · 4 checksentropic_createREQ-ABI-001 · inferredentropic_configureREQ-ABI-002 · inferredentropic_createREQ-API-002 · inferredentropic_createREQ-API-003 · inferredentropic_configureREQ-API-004 · inferredentropic_configureREQ-API-005 · inferredentropic_last_errorREQ-API-007 · inferredentropic_configure… 8 calls …entropic_versionREQ-API-008 · inferredentropic_configure… 3 calls …rewire_observersREQ-API-010 · inferredentropic_configure… 10 calls …handle_askREQ-API-012 · inferredentropic_configuredo_configure_jsonconfigure_commoninit_orchestratorREQ-API-013 · inferredentropic_destroystopREQ-BRIDGE-001 · inferred

and 64 more requirement paths, listed below.

Also reaches 79 requirements

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