test_withheld_requirement_text_is_not_shown

Tests › tests/test_wiki_reqwhat.py

passed Passed in the packaged run.

What this test is for

Why it exists

An audience that withholds requirement text gets no criteria or scenario.

Given

  1. entry = {"acceptance": "Secret.", "scenario": "Given x\nWhen y\nThen z"}
→

When

  1. html = _what(_row(), entry, {"rules": Audience(exclude_requirement_text=True), "blocks": {}})
→

Then

  1. ✓ html does not contain "Secret."
  2. ✓ html does not contain "kw"

tests/test_wiki_reqwhat.py:55 · its file's page

What it checks (1)

  1. assert "Secret." not in html and "kw" not in html observes _what via html

Where the product reaches it

  • build_wiki → _build_site → requirements_page → requirement_pages → _what (flow)

Call flow

test_withheld_requirement_text_is_not_shown→_what→_row

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_withheld_requirement_text_is_not_shown · 1 checks_whatREQ-DDB-WIKI-022 · measured
Also reaches 1 requirement

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