test_withheld_requirement_text_is_not_shown¶
Tests › tests/test_wiki_reqwhat.py
What this test is for
Why it exists
An audience that withholds requirement text gets no criteria or scenario.
Given
entry = {"acceptance": "Secret.", "scenario": "Given x\nWhen y\nThen z"}
When
html = _what(_row(), entry, {"rules": Audience(exclude_requirement_text=True), "blocks": {}})
Then
- ✓ html does not contain "Secret."
- ✓ html does not contain "kw"
tests/test_wiki_reqwhat.py:55 · its file's page
What it checks (1)
assert "Secret." not in html and "kw" not in htmlobserves_whatviahtml
Where the product reaches it
build_wiki→_build_site→requirements_page→requirement_pages→_what(flow)
Call flow
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.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-022 measured