test_the_29148_attributes_are_columns

Tests › tests/test_requirement_fields.py

passed Passed in the packaged run.

What this test is for

Why it exists

status / rationale / verification / parent land in their own columns.

Given

  1. row = _row(tmp_path, caplog)
→

When

  1. —
→

Then

  1. ✓ (row["status"], row["rationale"], row["verification"], row["parent"]) equals ( "approved", "Callers need a handle.", "test", "REQ-SYS-001", )

What it exercises

The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.

`main` (clew/guard/main.py) · 1 of 357 steps

… 72 earlier steps

program launcherprogram launcherprogram launcherprogram launcherclew/guard/main.pyclew/guard/main.pyclew/guard/main.pyclew/guard/main.pyclew/guard/impact.pyclew/guard/impact.pyclew/guard/impact.pyclew/guard/impact.pyclew/guard/checks.pyclew/guard/checks.pyclew/guard/checks.pyclew/guard/checks.pyother filesother filesother filesother filesloop (line 973)looploop (line 974)looploop (line 287)looploop (line 288)loopmain73. _validate_files → check_satisfies73check_satisfies74. check_satisfies → link_ids74link_ids75. link_ids → satisfies_ids75satisfies_ids▶ test enters76. _validate_files → load_failure_mode_ids76load_failure_mode_ids77. load_failure_mode_ids → _get_requirements_config77_get_requirements_config

… 280 later steps

tests/test_requirement_fields.py:49 · its file's page

What it checks (1)

  1. assert (row["status"], row["rationale"], row["verification"], row["parent"]) == ( "approved", "Callers need a handle.", "test", "REQ-SYS-001", ) observes _row via row

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

test_the_29148_attributes_are_columns→_row

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.

test_the_29148_attributes_are_columns · 1 checks_rowingest_requirements_yamlresolve_catalog_columnsREQ-DDB-CONFIG-001 · measured_rowingest_requirements_yaml_is_flat_req_listREQ-DDB-CONFIG-003 · measured_rowingest_requirements_yamlREQ-DDB-SCHEMA-006 · measured_rowingest_requirements_yamlREQ-DDB-SCHEMA-015 · measured_rowingest_requirements_yaml_is_flat_req_listallREQ-DDB-WIKI-054 · inferred
Also reaches 5 requirements

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