test_json_format

Tests › tests/guard/test_guard_coverage.py

passed Passed in the packaged run.

What this test is for

Why it exists

The test says nothing about why.

Given

  1. —
→

When

  1. result = format_coverage_json(self.REPORT)
→

Then

  1. ✓ result contains '"total_requirements": 3'

tests/guard/test_guard_coverage.py:57 · its file's page

What it checks (1)

  1. assert '"total_requirements": 3' in result observes format_coverage_json 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_json_format→format_coverage_json

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_json_format · 1 checksformat_coverage_jsonREQ-DDB-GUARD-022 · measured
Also reaches 1 requirement

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