test_a_test_in_another_language_still_says_why¶
Tests › tests/test_wiki_testcard.py
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
d = SimpleNamespace(name="test_c", file="tests/test_c.c", start=1)html = _card(lines=["void test_c(void) {", " TEST_ASSERT(1);", "}"], d=d, brief="Checks c.")
When
- —
Then
- ✓ html contains "Checks c."
- ✓ html does not contain 'class="tc-when"'
tests/test_wiki_testcard.py:75 · its file's page
What it checks (1)
assert "Checks c." in html and 'class="tc-when"' not in htmlobserves_cardviahtml
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→_cardWhat 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.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-026 measured