test_a_test_in_another_language_still_says_why

Tests › tests/test_wiki_testcard.py

passed Passed in the packaged run.

What this test is for

Why it exists

No Python syntax to read: the card keeps WHY (the index's brief) and draws no G/W/T.

Given

  1. d = SimpleNamespace(name="test_c", file="tests/test_c.c", start=1)
  2. html = _card(lines=["void test_c(void) {", " TEST_ASSERT(1);", "}"], d=d, brief="Checks c.")
→

When

  1. —
→

Then

  1. ✓ html contains "Checks c."
  2. ✓ html does not contain 'class="tc-when"'

tests/test_wiki_testcard.py:75 · its file's page

What it checks (1)

  1. assert "Checks c." in html and 'class="tc-when"' not in html observes _card via html

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_a_test_in_another_language_still_says_why→_card

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_a_test_in_another_language_still_says_why · 1 checks_cardtest_cardREQ-DDB-WIKI-026 · measured
Also reaches 1 requirement

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