Global enable toggle at runtime

Tests › tests/unit/core/constitutional_validator_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/core/constitutional_validator_test.cpp:379 · its file's page

What it checks (5)

  1. REQUIRE(validator.should_validate("any") == true) observes should_validate
  2. REQUIRE(validator.should_validate("other") == true) observes should_validate
  3. REQUIRE(validator.should_validate("any") == false) observes should_validate
  4. REQUIRE(validator.should_validate("eng") == true) observes should_validate
  5. REQUIRE(validator.should_validate("other") == false) observes should_validate

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

Global enable toggle at runtime→WHEN→set_global_enabled→REQUIRE→should_validate→set_identity_validation

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.

Global enable toggle at runtime · 5 checksWHENfailure_detailREQ-API-012 · inferredshould_validateREQ-VALID-001 · inferred
Also reaches 2 requirements

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