test_lists_reqs

Tests › tests/guard/test_guard_impact.py

passed Passed in the packaged run.

What this test is for

Why it exists

The test says nothing about why.

Given

  1. entries = [ ImpactEntry(req_id="REQ-0252"), ImpactEntry(req_id="REQ-0555"), ]
→

When

  1. result = format_text(entries)
→

Then

  1. ✓ result contains "REQ-0252"
  2. ✓ result contains "REQ-0555"

tests/guard/test_guard_impact.py:335 · its file's page

What it checks (2)

  1. assert "REQ-0252" in result observes format_text via result
  2. assert "REQ-0555" in result observes format_text via result

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_lists_reqs→format_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.

test_lists_reqs · 2 checksformat_textREQ-DDB-GUARD-010 · measured
Also reaches 1 requirement

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